summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.0/guide/resource_design/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/en/cowboy/2.0/guide/resource_design/index.html')
-rw-r--r--docs/en/cowboy/2.0/guide/resource_design/index.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/en/cowboy/2.0/guide/resource_design/index.html b/docs/en/cowboy/2.0/guide/resource_design/index.html
index c2331de4..688a5f04 100644
--- a/docs/en/cowboy/2.0/guide/resource_design/index.html
+++ b/docs/en/cowboy/2.0/guide/resource_design/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.26" />
+ <meta name="generator" content="Hugo 0.30.2" />
<title>Nine Nines: Designing a resource handler</title>
@@ -248,8 +248,8 @@ callback.</p></div>
<div class="sectionbody">
<div class="paragraph"><p>If you implement the methods PUT, POST and/or PATCH,
you must implement the <code>content_types_accepted</code> callback,
-and one <code>AcceptCallback</code> callback for each content-type
-it returns. Prefix the <code>AcceptCallback</code> callback names
+and one <code>AcceptResource</code> callback for each content-type
+it returns. Prefix the <code>AcceptResource</code> callback names
with <code>from_</code> for clarity. For example, <code>from_html</code> or
<code>from_json</code>.</p></div>
<div class="paragraph"><p>Do we want to allow the POST method to create individual
@@ -330,6 +330,8 @@ no way of knowing it has been completed yet, implement the
+ <li><a href="/docs/en/cowboy/2.1/guide">2.1</a></li>
+
<li><a href="/docs/en/cowboy/2.0/guide">2.0</a></li>
<li><a href="/docs/en/cowboy/1.0/guide">1.0</a></li>