Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-03-13 | Fix the parsing of the x-forwarded-for header | Loïc Hoguin | |
2018-03-05 | The Websocket subprotocol tokens are case sensitive | Loïc Hoguin | |
As clarified in https://tools.ietf.org/html/rfc7936 the IANA registry only accepts case insensitive values for clarity's sake but the actual tokens are case sensitive. | |||
2018-03-05 | Allow cookies without a value | Jonathan Perret | |
Some cookies are seen in the wild consisting of just a name, without even a "=" char. This allows parsing them as if they were written "foo=", that is with an empty value. Commit amended to add a few more test cases. | |||
2018-03-05 | Remove trailing whitespace from header values | Gustaf Sjoberg | |
Edited to add a test and use byte_size instead of size. | |||
2018-03-05 | Add the 308 Permanent Redirect status code | Loïc Hoguin | |
2017-11-28 | Add the 421 status code from HTTP/2 | Loïc Hoguin | |
2017-11-27 | Implement the building of h2 SETTINGS frames | Loïc Hoguin | |
2017-11-27 | Fix an error return value in cow_http2:parse/1 | Loïc Hoguin | |
2017-11-27 | Fix DATA payload size with padding | Loïc Hoguin | |
2017-11-22 | Crash on more error cases when parsing chnuked data | Loïc Hoguin | |
2017-11-15 | Add support for chunked transfer-encoding trailers | Loï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-10-31 | Fix Websocket compression for OTP 20.1.3+ | Loïc Hoguin | |
This issue only concerns zlib contexts that are created in a different process from the one they are used in. Unfortunately compression will have to remain disabled if you are using OTP 20.1, 20.1.1 or 20.1.2 due to missing functionality. If you need compression you will need to use another version. | |||
2017-10-03 | Update mimetypes | Loïc Hoguin | |
2017-07-10 | Add new module cow_base64url | Loïc Hoguin | |
It implements the algorithm found in RFC 7515 Appendix C https://tools.ietf.org/html/rfc7515#appendix-C with an option to switch between with/no padding variants. Relace the cow_multipart:boundary function to use this and fix issues with agents which do not support slashes in the boundary characters. | |||
2017-07-10 | Switch from Triq to Proper | Loïc Hoguin | |
2017-07-03 | Skip extra spaces and TE chunk extensions | Loïc Hoguin | |
2017-06-16 | Fix parsing of event spanning multiple parse calls | Loïc Hoguin | |
2017-06-08 | Accept headers as map in cow_multipart:form_data/1 | Loïc Hoguin | |
2017-06-08 | cow_multipart:from_data/1 doesn't return transfer-encoding anymore | Loïc Hoguin | |
That header is deprecated in the context of HTTP. | |||
2017-06-08 | Crash cookie parsing with badarg on error | Loïc Hoguin | |
2017-05-23 | Add building of PRIORITY frame | Loïc Hoguin | |
2017-05-19 | Add functions for creating WINDOW_UPDATE h2 frames | Loïc Hoguin | |
2017-04-27 | Add cow_sse module which implements parsing of SSE | Loïc Hoguin | |
Building of events will be implemented at a later time. | |||
2017-04-18 | Add support for HTTP 451 (RFC 7725) | Nicholas Lundgaard | |
See [rfc7725 section 3](https://tools.ietf.org/html/rfc7725#section-3). | |||
2017-02-26 | Unknown HTTP/2 frames are ignored | Loïc Hoguin | |
2017-02-25 | Add frame size related error cases to cow_http2:parse | Loïc Hoguin | |
2017-02-25 | Add cow_http:goaway/2 | Loïc Hoguin | |
2017-02-16 | Update a comment about zlib deflate option | Loïc Hoguin | |
2016-10-21 | Arrange function order | Loïc Hoguin | |
2016-10-21 | fixed names of test functions for cow_date:rfc2109/1 | Andrei Nesterov | |
2016-10-21 | Add support for IMF-fixdate formated date generation | Andrei Nesterov | |
2016-10-09 | Fix HTTP/2 parsing of WINDOW_UPDATE frames | Pablo Polvorin | |
Fix for cases where the full frame is not received in one go. | |||
2016-10-09 | Fix HPACK table size tracking when table is pruned | Pablo Polvorin | |
The new entry size wasn't being added to the table size after a prune. Also fixes incorrect test cases. The size number was different than the one found in RFC 7541 Appendix C. | |||
2016-10-09 | Fix parsing of HTTP/2 PING frames | Pablo Polvorin | |
Fix for cases where the full frame is not received in one go. | |||
2016-10-04 | Fix Dialyzer warnings | Loïc Hoguin | |
2016-10-03 | Add owner option to set owner of Websocket compression contexts | Loïc Hoguin | |
Required by Cowboy 2 because it initializes the contexts in a different process than where they are used. | |||
2016-10-03 | Update mimetypes | Loïc Hoguin | |
2016-06-09 | Merge branch 'master' of https://github.com/leoliu/cowlib | Loïc Hoguin | |
2016-06-08 | Fix #39: Prefer crypto:strong_rand_bytes/1 | Leo Liu | |
See also https://github.com/erlang/otp/pull/883 | |||
2016-06-07 | Add cow_http_hd:access_control_max_age/1 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:access_control_expose_headers/1 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:access_control_allow_origin/1 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:access_control_allow_methods/1 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:access_control_allow_headers/1 | Andrei Nesterov | |
2016-06-07 | Add internal cow_http_hd:join_token_list/1, cow_http_hd:join_token_list/2 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:access_control_allow_credentials/0 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:parse_access_control_request_method/1 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:parse_access_control_request_headers/1 | Andrei Nesterov | |
2016-06-07 | Add cow_http_hd:parse_origin/1 | Andrei Nesterov | |
2016-06-06 | Add a cow_http2:data_header/3 function | Loïc Hoguin | |
For use with sendfile or streaming in general. |