aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2014-12-16Add property for cow_http_hd:parse_max_forwards/1Loïc Hoguin
2014-12-16Add property for cow_http_hd:parse_expect/1Loïc Hoguin
2014-12-16Add a property for cow_http_hd:parse_connection/1Loïc Hoguin
2014-12-16Fix a shadow var warning in a propertyLoïc Hoguin
2014-12-15Add a property for cow_http_hd:parse_accept_language/1Loïc Hoguin
2014-12-15Add a property for cow_http_hd:parse_accept_encoding/1Loïc Hoguin
2014-12-15Add a property for cow_http_hd:parse_accept_charset/1Loïc Hoguin
2014-12-15Add a property for cow_http_hd:parse_accept/1Loïc Hoguin
Also fixes a few bugs uncovered by the property, and also allow empty Accept values as per RFC7231.
2014-12-14Add cow_http_hd:parse_content_type/1Loïc Hoguin
From RFC7231. This implementation is about 4 times faster than the one currently found in Cowboy.
2014-12-14Add a property for parse_content_length/1Loïc Hoguin
2014-12-14Fix a typo in ?IS_TOKEN macroLoïc Hoguin
Detected by triq.
2014-12-13Add testing for bad input for cow_http_hd:parse_content_length/1Loïc Hoguin
2014-12-13Add cow_http_hd:parse_accept_language/1Loïc Hoguin
From RFC7231. This code is more than twice faster as the current Cowboy code, while filtering out more bad cases.
2014-12-13Add cow_http_hd:parse_accept_encoding/1Loïc Hoguin
From RFC7231.
2014-12-13Add cow_http_hd:parse_charset/1Loïc Hoguin
From RFC7231. This code is more than twice faster as the current Cowboy code, while filtering out more bad cases.
2014-12-13Add cow_http_hd:parse_accept/1Loïc Hoguin
From RFC7231. This code is more than twice faster as the current Cowboy code, while filtering out more bad cases.
2014-12-12Add cow_http_hd:parse_max_forwards/1Loïc Hoguin
From RFC7231.
2014-12-12Optimize cow_http:parse_fullhost/1Loïc Hoguin
Using two functions instead of an argument is a much better way to handle two specific pathways in the code.
2014-12-12Add cow_http_hd:parse_expect/1Loïc Hoguin
From RFC7231.
2014-11-07Update cowlib to 1.0.11.0.1Loïc Hoguin
2014-11-07Add CHANGELOGLoïc Hoguin
2014-11-07Add AUTHORSLoïc Hoguin
2014-11-07Update erlang.mkLoïc Hoguin
2014-11-06Merge branch 'remove-linebreak-requirement' of git://github.com/issuu/cowlibLoïc Hoguin
2014-11-06No line break required after close-delimiterMikkel Jensen
RFC 1341 does not specify this and indeed some upload clients (for example Flash) do not terminate the request with line breaks
2014-08-01Update cowlib to 1.0.01.0.0Loïc Hoguin
2014-08-01Remove an unnecessary line from the MakefileLoïc Hoguin
2014-08-01Update list of tested releasesLoïc Hoguin
2014-08-01Update erlang.mk to 1.0.0Loïc Hoguin
2014-08-01Add another chunked transfer-encoding testLoïc Hoguin
2014-06-10Update list of tested releasesLoïc Hoguin
2014-06-10Update cowlib to 0.6.20.6.2Loïc Hoguin
Fix parsing of Google Analytics cookies.
2014-06-10Fix chunked transfer decoding testsLoïc Hoguin
2014-05-18Accept commas as part of cookie valuesLoïc Hoguin
Google Analytics has been observed to set cookie values containing commas. We therefore need to accept them for interoperability.
2014-03-27Update cowlib to 0.6.10.6.1Loïc Hoguin
Minor tweaks to types and code.
2014-03-27Use a lists:keystore where appropriateLoï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-22Update cowlib to 0.6.00.6.0Loïc Hoguin
Adds chunked transfer-encoding support plus a few functions imported from Cowboy. Also adds a function to build requests for clients.
2014-03-22Remove a warning when running all.shLoïc Hoguin
2014-03-21Add cow_http:request/4 and cow_http:version/1Loïc Hoguin
2014-03-21Improve specs in cow_httpLoï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.
2014-02-27Add cow_http:parse_{status_line,headers}/1Loïc Hoguin
Imported from Cowboy and then optimized.
2014-02-27Add cow_http_hd:parse_{connection,content_length,transfer_encoding}/1Loïc Hoguin
Initially imported from Cowboy, then optimized.
2014-02-19Add .gitignoreLoïc Hoguin
2014-02-19Updated cowlib to 0.5.10.5.1Loïc Hoguin
Fix multipart body reading. Thanks to Ali Sabil for the many tests and reports.
2014-02-19Fix bugs in cow_multipart:parse_body/2 when a partial was found at the endLoïc Hoguin
There was three bugs: lack of a scope argument in binary:match (I swear I had it in a previous version, whoops!); a misinterpretation of the returned position when the scope is used (so yeah it wouldn't have worked either way); \r\n being incorrectly removed when we got a partial, despite not knowing whether it was a boundary. Added a series of different tests to ensure that it all works as intended.
2014-02-06More copyright yearsLoïc Hoguin
2014-02-05Update copyright years0.5.0Loïc Hoguin