aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/manual
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-05 10:30:26 +0100
committerLoïc Hoguin <[email protected]>2018-11-05 10:30:26 +0100
commit805a156785a08316c768fa51c7441a750a6c9f53 (patch)
tree98efd6ca58bbca7e95a9907f7d4ce5045eaa50bb /doc/src/manual
parent06f9f3714f1630d4818ae0d240871a7656b9bcad (diff)
downloadcowboy-805a156785a08316c768fa51c7441a750a6c9f53.tar.gz
cowboy-805a156785a08316c768fa51c7441a750a6c9f53.tar.bz2
cowboy-805a156785a08316c768fa51c7441a750a6c9f53.zip
Test stop against all relevant REST callbacks
Diffstat (limited to 'doc/src/manual')
-rw-r--r--doc/src/manual/cowboy_rest.asciidoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_rest.asciidoc b/doc/src/manual/cowboy_rest.asciidoc
index 4babcc5..d7901fd 100644
--- a/doc/src/manual/cowboy_rest.asciidoc
+++ b/doc/src/manual/cowboy_rest.asciidoc
@@ -550,6 +550,10 @@ links to the different representations. If the server has
a preferred representation it can send its link inside a
location header.
+Note that when replying manually in this callback you
+should either call `cowboy_req:reply/4` or remove the
+response body that Cowboy sets to avoid surprises.
+
=== options
[source,erlang]