summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-12-13 17:28:18 +0100
committerLoïc Hoguin <[email protected]>2017-12-13 17:28:18 +0100
commit10e70ed2d18e174b57778cc354978dbe742a5320 (patch)
treef93694db0ab5c664b4511ffaaf9507b8139bf83b /docs
parent73f7713f7138b8e3a80122e6b7d446e8ef3bbb39 (diff)
downloadninenines.eu-10e70ed2d18e174b57778cc354978dbe742a5320.tar.gz
ninenines.eu-10e70ed2d18e174b57778cc354978dbe742a5320.tar.bz2
ninenines.eu-10e70ed2d18e174b57778cc354978dbe742a5320.zip
Cowboy 2.2.0
Diffstat (limited to 'docs')
-rw-r--r--docs/en/cowboy/2.2/guide/getting_started.asciidoc2
-rw-r--r--docs/en/cowboy/2.2/guide/getting_started/index.html2
-rw-r--r--docs/en/cowboy/2.2/manual/cowboy_stream/index.html20
3 files changed, 22 insertions, 2 deletions
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 -->
<pre><tt><span style="color: #009900">PROJECT =</span> hello_erlang
<span style="color: #009900">DEPS =</span> cowboy
-<span style="color: #009900">dep_cowboy_commit =</span> 2.1.0
+<span style="color: #009900">dep_cowboy_commit =</span> 2.2.0
<span style="color: #009900">DEP_PLUGINS =</span> 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 <code>init/3</code>, <code>data/4</code> and <code>info/3</code> callba
the <code>early_error/5</code> callback must return a response command.</p></div>
<div class="paragraph"><p>The following commands are defined:</p></div>
<div class="sect2">
+<h3 id="inform_command">inform</h3>
+<div class="paragraph"><p>Send an informational response to the client.</p></div>
+<div class="listingblock">
+<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+by Lorenzo Bettini
+http://www.lorenzobettini.it
+http://www.gnu.org/software/src-highlite -->
+<pre><tt>{<span style="color: #FF6600">inform</span>, <span style="font-weight: bold"><span style="color: #000000">cowboy:http_status</span></span>(), <span style="font-weight: bold"><span style="color: #000000">cowboy:http_headers</span></span>()}</tt></pre></div></div>
+<div class="paragraph"><p>Any number of informational responses may be sent,
+but only until the final response is sent.</p></div>
+</div>
+<div class="sect2">
<h3 id="response_command">response</h3>
<div class="paragraph"><p>Send a response to the client.</p></div>
<div class="listingblock">
@@ -311,6 +323,14 @@ http://www.gnu.org/software/src-highlite -->
<div class="paragraph"><p>This is the raw exit message without any modification.</p></div>
</div>
<div class="sect2">
+<h3 id="_inform">inform</h3>
+<div class="paragraph"><p>Same as the <a href="../inform_command">inform command</a>.</p></div>
+<div class="paragraph"><p>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.</p></div>
+</div>
+<div class="sect2">
<h3 id="_response">response</h3>
<div class="paragraph"><p>Same as the <a href="../response_command">response command</a>.</p></div>
<div class="paragraph"><p>Usually sent when the request process replies to the client.