Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-01-16 | Cowlib 2.12.0 | Loïc Hoguin | |
2019-09-06 | Add status codes 208 and 508 | Loïc Hoguin | |
2018-09-17 | Add cow_http:parse_request_line/1 | Loïc Hoguin | |
2018-08-06 | Export two cow_http types used by Gun | Loïc Hoguin | |
2018-06-04 | Update copyrights | Loïc Hoguin | |
2018-05-18 | Add cow_http:status_to_integer | Loïc Hoguin | |
2018-05-07 | Add 103 early hints as a valid status | Mark Madsen | |
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-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-04-18 | Add support for HTTP 451 (RFC 7725) | Nicholas Lundgaard | |
See [rfc7725 section 3](https://tools.ietf.org/html/rfc7725#section-3). | |||
2016-10-04 | Fix Dialyzer warnings | Loïc Hoguin | |
2016-06-06 | Make cow_http:parse_fullpath/1 remove any fragment component | Loïc Hoguin | |
2016-03-12 | Add cow_http:response/3 | Loïc Hoguin | |
2015-03-12 | Maintenance | Loïc Hoguin | |
* Update copyright years. * Update erlang.mk. * Fix triq testing. | |||
2015-01-04 | Simplify the cow_http_hd code | Loïc Hoguin | |
Also rename the macros for inline lowercasing to ?LOWER, and move the type detection macros to cow_parse.hrl. | |||
2014-12-29 | Add cow_http_hd:parse_host/1, remove cow_http:parse_fullhost/1 | Loïc Hoguin | |
From RFC7230 and RFC3986. The new function now validates that the characters are correct, but does not go as far as validate segment sizes or number of segments. Its main purpose is still to split host and port. | |||
2014-12-12 | Optimize cow_http:parse_fullhost/1 | Loïc Hoguin | |
Using two functions instead of an argument is a much better way to handle two specific pathways in the code. | |||
2014-03-21 | Add cow_http:request/4 and cow_http:version/1 | Loïc Hoguin | |
2014-03-21 | Improve specs in cow_http | Loïc Hoguin | |
2014-02-27 | Add cow_http:parse_{status_line,headers}/1 | Loïc Hoguin | |
Imported from Cowboy and then optimized. | |||
2014-02-05 | Update copyright years0.5.0 | Loïc Hoguin | |
2014-02-05 | Use the inline macro for cow_http:parse_fullhost | Loïc Hoguin | |
Tidying the code a little. | |||
2013-10-22 | Simplify parse_fullpath code | Loïc Hoguin | |
2013-09-04 | Introduce cow_http support module0.1.0 | Loïc Hoguin | |
This module contains parsing functions for the basic HTTP items, basically request-line, response-line and host. |