aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_http_req.erl
AgeCommit message (Collapse)Author
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