aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_req.erl
AgeCommit message (Collapse)Author
2011-03-27Return undefined instead of failing or returning "" when a value doesn't exist.Loïc Hoguin
2011-03-27Fix query string related type specs in cowboy_http_req.Loïc Hoguin
2011-03-22Boring 80-col change.Loïc Hoguin
2011-03-22Introduce cowboy_http_req:body_qs/1 for automated urlencoded body parsing.Loïc Hoguin
2011-03-22Fix spec for cowboy_http_req:parse_qs/1.Loïc Hoguin
2011-03-22Fix spec for cowboy_http_req:body/1 and body/2.Loïc Hoguin
2011-03-21Fix spec for cowboy_http_req:reply/4.Loïc Hoguin
2011-03-21Fix spec for cowboy_http_req:qs_vals/1.Loïc Hoguin
2011-03-21Introduce cowboy_http_req:body/1 to read the full request body.Loïc Hoguin
2011-03-21Skip the request body if it hasn't been read by the handler.Loïc Hoguin
2011-03-20Make sure we can only reply to an HTTP request inside Handler:handle.Loïc Hoguin
Of course since requests are a record the response state can be explicitly overriden, but standard use prevents errors by making sure only one reply is sent.
2011-03-20Lazy-retrieve the peer name and port to avoid wasting time each request.Loïc Hoguin
2011-03-18Move the reply function to cowboy_http_req.Loïc Hoguin
2011-03-17Initial commit.Loïc Hoguin