aboutsummaryrefslogtreecommitdiffstats
path: root/src/cow_http.erl
AgeCommit message (Collapse)Author
2016-03-12Add cow_http:response/3Loïc Hoguin
2015-03-12MaintenanceLoïc Hoguin
* Update copyright years. * Update erlang.mk. * Fix triq testing.
2015-01-04Simplify the cow_http_hd codeLoïc Hoguin
Also rename the macros for inline lowercasing to ?LOWER, and move the type detection macros to cow_parse.hrl.
2014-12-29Add cow_http_hd:parse_host/1, remove cow_http:parse_fullhost/1Loï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-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-03-21Add cow_http:request/4 and cow_http:version/1Loïc Hoguin
2014-03-21Improve specs in cow_httpLoïc Hoguin
2014-02-27Add cow_http:parse_{status_line,headers}/1Loïc Hoguin
Imported from Cowboy and then optimized.
2014-02-05Update copyright years0.5.0Loïc Hoguin
2014-02-05Use the inline macro for cow_http:parse_fullhostLoïc Hoguin
Tidying the code a little.
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.