aboutsummaryrefslogtreecommitdiffstats
path: root/test/cover.spec
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-10-30 16:21:25 +0000
committerLoïc Hoguin <[email protected]>2017-10-30 16:21:25 +0000
commit217fac7f4414f5ff5eda85079a179e2462aba61c (patch)
tree9493f8a7df840ffb9d971ec3015aeb0586e9aae4 /test/cover.spec
parentf3d6b05b863fe177a34a8a6ba48c5f263ef8cf82 (diff)
downloadcowboy-217fac7f4414f5ff5eda85079a179e2462aba61c.tar.gz
cowboy-217fac7f4414f5ff5eda85079a179e2462aba61c.tar.bz2
cowboy-217fac7f4414f5ff5eda85079a179e2462aba61c.zip
Handle expect: 100-continue request headers
The 100 continue response will only be sent if the client has not sent the body yet (at all), if the connection is HTTP/1.1 or above and if the user has not sent it yet. The 100 continue response is sent when the user calls read_body and it is cowboy_stream_h's responsibility to send it. This means projects that don't use the cowboy_stream_h stream handler will need to handle the expect header themselves (but that's okay because they might have different considerations than normal Cowboy).
Diffstat (limited to 'test/cover.spec')
0 files changed, 0 insertions, 0 deletions