From 1e5b5eb16cd528185246ad2b6cb356696ecafab6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Wed, 11 Jan 2017 18:27:51 +0100 Subject: Update docs --- docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/en/cowboy/2.0/manual/cowboy_req.reply') diff --git a/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html b/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html index 8f0fb062..c67b85c2 100644 --- a/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html +++ b/docs/en/cowboy/2.0/manual/cowboy_req.reply/index.html @@ -100,7 +100,8 @@ http://www.gnu.org/software/src-highlite --> While header names are case insensitive, Cowboy requires them to be given as lowercase to function properly.

Cowboy does not allow duplicate header names. Headers set -by this function may overwrite those set by set_resp_header/3.

+by this function may overwrite those set by set_resp_header/3 +and set_resp_headers/2.

Use cowboy_req:set_resp_cookie(3) instead of this function to set cookies.

The reply/2,3 functions will send the body set previously, @@ -220,6 +221,7 @@ http://www.gnu.org/software/src-highlite -->

-- cgit v1.2.3