summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/manual/cowboy_rest/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/cowboy/2.0/manual/cowboy_rest/index.html')
-rw-r--r--docs/en/cowboy/2.0/manual/cowboy_rest/index.html70
1 files changed, 36 insertions, 34 deletions
diff --git a/docs/en/cowboy/2.0/manual/cowboy_rest/index.html b/docs/en/cowboy/2.0/manual/cowboy_rest/index.html
index 0128373b..9adcaf8b 100644
--- a/docs/en/cowboy/2.0/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.0/manual/cowboy_rest/index.html
@@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="author" content="Loïc Hoguin based on a design from (Soft10) Pol Cámara">
- <meta name="generator" content="Hugo 0.30.2" />
+ <meta name="generator" content="Hugo 0.37.1" />
<title>Nine Nines: cowboy_rest(3)</title>
@@ -88,7 +88,7 @@ of application state).</p></div>
<div class="sectionbody">
<div class="paragraph"><p>REST handlers implement the following interface:</p></div>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -155,7 +155,7 @@ normal
<div class="sect2">
<h3 id="_acceptcallback">AcceptCallback</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -185,7 +185,7 @@ respectively. The body can be set using
<div class="sect2">
<h3 id="_allowed_methods">allowed_methods</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -198,7 +198,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_allow_missing_post">allow_missing_post</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -214,7 +214,7 @@ returned from the <code>AcceptCallback</code> function.</p></div>
<div class="sect2">
<h3 id="_charsets_provided">charsets_provided</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -232,7 +232,7 @@ from the resource.</p></div>
<div class="paragraph"><p>Cowboy will add the negotiated <code>charset</code> to the Req object
after this step completes:</p></div>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -243,7 +243,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_content_types_accepted">content_types_accepted</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -275,7 +275,7 @@ binary string.</p></div>
<div class="sect2">
<h3 id="_content_types_provided">content_types_provided</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -308,7 +308,7 @@ binary string.</p></div>
<div class="paragraph"><p>Cowboy will add the negotiated <code>media_type</code> to the Req object
after this step completes:</p></div>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -319,7 +319,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_delete_completed">delete_completed</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -335,7 +335,7 @@ being sent instead of a <em>200 OK</em> or <em>204 No Content</em>.</p></div>
<div class="sect2">
<h3 id="_delete_resource">delete_resource</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -350,7 +350,7 @@ returns <code>false</code>.</p></div>
<div class="sect2">
<h3 id="_expires">expires</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -363,7 +363,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_forbidden">forbidden</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -380,7 +380,7 @@ and that the request shouldn&#8217;t be repeated.</p></div>
<div class="sect2">
<h3 id="_generate_etag">generate_etag</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -396,7 +396,7 @@ format as the etag header, including quotes.</p></div>
<div class="sect2">
<h3 id="_is_authorized">is_authorized</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -415,7 +415,7 @@ be sent in the www-authenticate header for the
<div class="sect2">
<h3 id="_is_conflict">is_conflict</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -429,7 +429,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_known_methods">known_methods</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -447,7 +447,7 @@ implement in <code>cowboy_rest</code>.</p></div>
<div class="sect2">
<h3 id="_languages_provided">languages_provided</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -465,7 +465,7 @@ from the resource.</p></div>
<div class="paragraph"><p>Cowboy will add the negotiated <code>language</code> to the Req object
after this step completes:</p></div>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -476,7 +476,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_last_modified">last_modified</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -492,7 +492,7 @@ header in the response to GET and HEAD requests.</p></div>
<div class="sect2">
<h3 id="_malformed_request">malformed_request</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -509,7 +509,7 @@ in this function. The body should not be read at this point.</p></div>
<div class="sect2">
<h3 id="_moved_permanently">moved_permanently</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -523,7 +523,7 @@ what its new location is.</p></div>
<div class="sect2">
<h3 id="_moved_temporarily">moved_temporarily</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -537,7 +537,7 @@ what its new location is.</p></div>
<div class="sect2">
<h3 id="_multiple_choices">multiple_choices</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -560,7 +560,7 @@ location header.</p></div>
<div class="sect2">
<h3 id="_options">options</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -573,7 +573,7 @@ will send a <em>200 OK</em> response with the allow header set.</p></div>
<div class="sect2">
<h3 id="_previously_existed">previously_existed</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -586,7 +586,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_providecallback">ProvideCallback</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -606,7 +606,7 @@ release.</p></div>
<div class="sect2">
<h3 id="_resource_exists">resource_exists</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -619,7 +619,7 @@ http://www.gnu.org/software/src-highlite -->
<div class="sect2">
<h3 id="_service_available">service_available</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -634,7 +634,7 @@ function returns <code>false</code>.</p></div>
<div class="sect2">
<h3 id="_uri_too_long">uri_too_long</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -649,7 +649,7 @@ of the URI for this specific resource.</p></div>
<div class="sect2">
<h3 id="_valid_content_headers">valid_content_headers</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -665,7 +665,7 @@ content-encoding.</p></div>
<div class="sect2">
<h3 id="_valid_entity_length">valid_entity_length</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -680,7 +680,7 @@ function returns <code>false</code>.</p></div>
<div class="sect2">
<h3 id="_variances">variances</h3>
<div class="listingblock">
-<div class="content"><!-- Generator: GNU source-highlight 3.1.8
+<div class="content"><!-- Generator: GNU source-highlight
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
@@ -736,6 +736,8 @@ accept-language headers when necessary.</p></div>
+ <li><a href="/docs/en/cowboy/2.3/manual">2.3</a></li>
+
<li><a href="/docs/en/cowboy/2.2/manual">2.2</a></li>
<li><a href="/docs/en/cowboy/2.1/manual">2.1</a></li>