diff options
author | Loïc Hoguin <[email protected]> | 2019-10-07 13:45:07 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2019-10-07 13:45:07 +0200 |
commit | 80aef3cdaa0b53c97526c40508b8198e9f96f19f (patch) | |
tree | 82a9f682364e1ebd8f34aeb851b1d891133045c5 | |
parent | 2e8fcb9a9ef9ef9beff25ed4d48cf0d90609a69b (diff) | |
download | cowboy-80aef3cdaa0b53c97526c40508b8198e9f96f19f.tar.gz cowboy-80aef3cdaa0b53c97526c40508b8198e9f96f19f.tar.bz2 cowboy-80aef3cdaa0b53c97526c40508b8198e9f96f19f.zip |
Document no date/server headers from response/headers commands
-rw-r--r-- | doc/src/manual/cowboy_stream.asciidoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/src/manual/cowboy_stream.asciidoc b/doc/src/manual/cowboy_stream.asciidoc index 868deac..65bd06e 100644 --- a/doc/src/manual/cowboy_stream.asciidoc +++ b/doc/src/manual/cowboy_stream.asciidoc @@ -112,6 +112,10 @@ Send a response to the client. No more data can be sent after this command. +Note that in Cowboy it is the `cowboy_req` module that +sets the date and server headers. When using the command +directly those headers will not be added. + [[headers_command]] === headers @@ -126,6 +130,10 @@ This initiates a response to the client. The stream will end when a data command with the `fin` flag or a trailer command is returned. +Note that in Cowboy it is the `cowboy_req` module that +sets the date and server headers. When using the command +directly those headers will not be added. + [[data_command]] === data |