aboutsummaryrefslogtreecommitdiffstats
path: root/AUTHORS
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-11-15 14:32:51 +0100
committerLoïc Hoguin <[email protected]>2017-11-15 14:32:51 +0100
commit7728c624028db160edad2646f34d069d16af0869 (patch)
tree86f07ee306b8d6fc6396311fa83481638c537995 /AUTHORS
parentc510f28cc0526899a6c6d8a6e9cdbdca432ff490 (diff)
downloadcowlib-7728c624028db160edad2646f34d069d16af0869.tar.gz
cowlib-7728c624028db160edad2646f34d069d16af0869.tar.bz2
cowlib-7728c624028db160edad2646f34d069d16af0869.zip
Add support for chunked transfer-encoding trailers
It considers all 0-sized chunks that aren't \r\n\r\n to be trailers. There's no option for enabling/disabling the behavior (for example when the te header was sent). It doesn't parse the trailer, it's up to the user to parse it separately via the new cow_http:headers/1 functions. Note that this reuses the TotalLength part of the returned 'done' tuple to signal whether there are trailers. This value has been ignored in Cowboy since 2.0 and was just a historical leftover. I'm not aware of anyone using this module outside of Gun or Cowboy, so I don't expect this to break anything. If it does, well, it's not a documented function anyway. Your fault.
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions