summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.1/manual/cowboy_rest
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-04-04 13:13:37 +0200
committerLoïc Hoguin <[email protected]>2018-04-04 13:13:37 +0200
commitd2a3f2cedd7c00d0933222aed9c06b3149aa4db4 (patch)
tree4f1499bac639c782b250af0fbf0dec2064315813 /docs/en/cowboy/2.1/manual/cowboy_rest
parent1d654719f5fa6be67d2c95145872068665702cb7 (diff)
downloadninenines.eu-d2a3f2cedd7c00d0933222aed9c06b3149aa4db4.tar.gz
ninenines.eu-d2a3f2cedd7c00d0933222aed9c06b3149aa4db4.tar.bz2
ninenines.eu-d2a3f2cedd7c00d0933222aed9c06b3149aa4db4.zip
Cowboy 2.3.0
Diffstat (limited to 'docs/en/cowboy/2.1/manual/cowboy_rest')
-rw-r--r--docs/en/cowboy/2.1/manual/cowboy_rest/index.html70
1 files changed, 36 insertions, 34 deletions
diff --git a/docs/en/cowboy/2.1/manual/cowboy_rest/index.html b/docs/en/cowboy/2.1/manual/cowboy_rest/index.html
index b9b58d6d..1931238f 100644
--- a/docs/en/cowboy/2.1/manual/cowboy_rest/index.html
+++ b/docs/en/cowboy/2.1/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 -->
@@ -165,7 +165,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 -->
@@ -195,7 +195,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 -->
@@ -208,7 +208,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 -->
@@ -224,7 +224,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 -->
@@ -242,7 +242,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 -->
@@ -253,7 +253,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 -->
@@ -285,7 +285,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 -->
@@ -318,7 +318,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 -->
@@ -329,7 +329,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 -->
@@ -345,7 +345,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 -->
@@ -360,7 +360,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 -->
@@ -373,7 +373,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 -->
@@ -390,7 +390,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 -->
@@ -406,7 +406,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 -->
@@ -425,7 +425,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 -->
@@ -439,7 +439,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 -->
@@ -457,7 +457,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 -->
@@ -475,7 +475,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 -->
@@ -486,7 +486,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 -->
@@ -502,7 +502,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 -->
@@ -519,7 +519,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 -->
@@ -533,7 +533,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 -->
@@ -547,7 +547,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 -->
@@ -570,7 +570,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 -->
@@ -583,7 +583,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 -->
@@ -596,7 +596,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 -->
@@ -616,7 +616,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 -->
@@ -629,7 +629,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 -->
@@ -644,7 +644,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 -->
@@ -659,7 +659,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 -->
@@ -675,7 +675,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 -->
@@ -690,7 +690,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 -->
@@ -763,6 +763,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>