From 805a156785a08316c768fa51c7441a750a6c9f53 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= <essen@ninenines.eu>
Date: Mon, 5 Nov 2018 10:30:26 +0100
Subject: Test stop against all relevant REST callbacks

---
 doc/src/manual/cowboy_rest.asciidoc | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'doc/src/manual/cowboy_rest.asciidoc')

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]
-- 
cgit v1.2.3

