aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_http_te.erl
AgeCommit message (Collapse)Author
2019-10-10Fix cow_http_te:decode_ret() typeLoïc Hoguin
2018-08-06Fix typespecs causing Dialyzer errors in user projectsLoïc Hoguin
2018-06-04Update copyrightsLoïc Hoguin
2017-11-22Crash on more error cases when parsing chnuked dataLoïc Hoguin
2017-11-15Add support for chunked transfer-encoding trailersLoïc Hoguin
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.
2017-07-03Skip extra spaces and TE chunk extensionsLoïc Hoguin
2015-03-12MaintenanceLoïc Hoguin
* Update copyright years. * Update erlang.mk. * Fix triq testing.
2014-08-01Add another chunked transfer-encoding testLoïc Hoguin
2014-06-10Fix chunked transfer decoding testsLoïc Hoguin
2014-03-27Add cow_http_te:decode_ret() type and simplify it a littleLoïc Hoguin
2014-03-25Update erlang.mkLoïc Hoguin
2014-03-21Add cow_http_te module for streaming chunked and identity TELoïc Hoguin
Imported from Cowboy and then optimized with a more efficient interface amongst other things.