From 10e70ed2d18e174b57778cc354978dbe742a5320 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 13 Dec 2017 17:28:18 +0100 Subject: Cowboy 2.2.0 --- docs/en/cowboy/2.2/guide/getting_started.asciidoc | 2 +- docs/en/cowboy/2.2/guide/getting_started/index.html | 2 +- docs/en/cowboy/2.2/manual/cowboy_stream/index.html | 20 ++++++++++++++++++++ 3 files changed, 22 insertions(+), 2 deletions(-) (limited to 'docs/en/cowboy') diff --git a/docs/en/cowboy/2.2/guide/getting_started.asciidoc b/docs/en/cowboy/2.2/guide/getting_started.asciidoc index 3f145bb8..39477919 100644 --- a/docs/en/cowboy/2.2/guide/getting_started.asciidoc +++ b/docs/en/cowboy/2.2/guide/getting_started.asciidoc @@ -69,7 +69,7 @@ fetch and compile Cowboy: PROJECT = hello_erlang DEPS = cowboy -dep_cowboy_commit = 2.1.0 +dep_cowboy_commit = 2.2.0 DEP_PLUGINS = cowboy diff --git a/docs/en/cowboy/2.2/guide/getting_started/index.html b/docs/en/cowboy/2.2/guide/getting_started/index.html index 5aaedfee..3b79f2c6 100644 --- a/docs/en/cowboy/2.2/guide/getting_started/index.html +++ b/docs/en/cowboy/2.2/guide/getting_started/index.html @@ -145,7 +145,7 @@ http://www.gnu.org/software/src-highlite -->
PROJECT = hello_erlang
 
 DEPS = cowboy
-dep_cowboy_commit = 2.1.0
+dep_cowboy_commit = 2.2.0
 
 DEP_PLUGINS = cowboy
 
diff --git a/docs/en/cowboy/2.2/manual/cowboy_stream/index.html b/docs/en/cowboy/2.2/manual/cowboy_stream/index.html
index 639a97fd..1302d76d 100644
--- a/docs/en/cowboy/2.2/manual/cowboy_stream/index.html
+++ b/docs/en/cowboy/2.2/manual/cowboy_stream/index.html
@@ -148,6 +148,18 @@ from the init/3, data/4 and info/3 callba
 the early_error/5 callback must return a response command.

The following commands are defined:

+

inform

+

Send an informational response to the client.

+
+
+
{inform, cowboy:http_status(), cowboy:http_headers()}
+

Any number of informational responses may be sent, +but only until the final response is sent.

+
+

response

Send a response to the client.

@@ -311,6 +323,14 @@ http://www.gnu.org/software/src-highlite -->

This is the raw exit message without any modification.

+

inform

+

Same as the inform command.

+

Sent when the request process reads the body and an +expect: 100-continue header was present in the request, +or when the request process sends an informational +response on its own.

+
+

response

Same as the response command.

Usually sent when the request process replies to the client. -- cgit v1.2.3