0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 12:20:24 +00:00

Document no date/server headers from response/headers commands

This commit is contained in:
Loïc Hoguin 2019-10-07 13:45:07 +02:00
parent 2e8fcb9a9e
commit 80aef3cdaa
No known key found for this signature in database
GPG key ID: 8A9DF795F6FED764

View file

@ -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