aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)Author
2011-03-27Fix the type spec for qs_vals, a list of key/values.Loïc Hoguin
2011-03-22Fix the type spec for path_tokens, a list of *non empty* strings.Loïc Hoguin
2011-03-21Fix spec for the #http_spec.path record field.Loïc Hoguin
2011-03-21Fix spec for cowboy_dispatcher:split_host/1.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-20Save the raw path string in the request.Loïc Hoguin
2011-03-19Save the raw host string in the request.Loïc Hoguin
2011-03-19Add support for the '*' path.Loïc Hoguin
Mostly used by the following request: OPTIONS * HTTP/1.1
2011-03-19Rewrite the dispatcher to take a list of host each having a list of paths.Loïc Hoguin
* Makes more sense to parse the host only once instead of for each path. * Allows proper handling of: If the host is not a valid host on the server, the response MUST be a 400 (Bad Request) error.
2011-03-18Move the reply function to cowboy_http_req.Loïc Hoguin
2011-03-17Initial commit.Loïc Hoguin