aboutsummaryrefslogtreecommitdiffstats
path: root/src
AgeCommit message (Collapse)Author
2015-11-16Update Cowlib to 1.0.21.0.21.0.xLoïc Hoguin
2015-11-16Fix handling of default values in cookie optionsKrzysztof Jurewicz
Previously, an error would be raised when explicitly passing a default value for either “http_only” or “secure” option.
2014-11-07Update cowlib to 1.0.11.0.1Loïc Hoguin
2014-11-07Update erlang.mkLoï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-01Add another chunked transfer-encoding testLoï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-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-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-05Update copyright years0.5.0Loïc Hoguin
2014-02-05Update cowlib to 0.5.0Loïc Hoguin
Added support for multipart building and parsing. Added an include file for doing inline lowercase of binary strings.
2014-02-05Use the inline macro for cow_http:parse_fullhostLoïc Hoguin
Tidying the code a little.
2014-02-05Add the cow_multipart module for multipart message parsing and buildingLoïc Hoguin
This is a new implementation that has been measured to be up to 33% faster than the implementation that was in Cowboy.
2013-11-08Update cowlib to 0.4.00.4.0Loïc Hoguin
Add support for query strings, optimize cookie date building.
2013-11-08Remove some pointless commentsLoïc Hoguin
2013-11-08Add the cow_qs module for query string parsing and buildingLoïc Hoguin
Includes functions to encode and decode percent encoded strings that follow the application/x-www_form_urlencoded format. Query string parsing should be 3 times faster than the code that was in Cowboy, and will also create less intermediate variables.
2013-11-05Add Horse tests and optimize cow_date:rfc2109/1Loïc Hoguin
2013-11-02Fix the type of argument to mimetypes functionsLoïc Hoguin
2013-11-02Update cowlib to 0.3.00.3.0Loïc Hoguin
Added support for mimetypes detection.
2013-11-02Improve mimetypes code based on cowboy_static usageLoïc Hoguin
2013-10-31Add the cow_mimetypes module for identifying mimetypes from extLoïc Hoguin
The module is partly generated from the big Apache mimetypes file.
2013-10-23Update cowlib to 0.2.00.2.0Loïc Hoguin
Added support for cookies and cookie date.
2013-10-23Add cookie parsing and building codeLoïc Hoguin
2013-10-22Simplify parse_fullpath codeLoïc Hoguin
2013-09-04Introduce cow_http support module0.1.0Loïc Hoguin
This module contains parsing functions for the basic HTTP items, basically request-line, response-line and host.
2013-09-02Don't return unecessary data when split failedLoïc Hoguin
2013-09-02Replace previous special header if there's any duplicateLoïc Hoguin
2013-08-22Initial commit with most of spdy/3Loïc Hoguin