Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-03-27 | Fix the type spec for qs_vals, a list of key/values. | Loïc Hoguin | |
2011-03-22 | Fix the type spec for path_tokens, a list of *non empty* strings. | Loïc Hoguin | |
2011-03-21 | Fix spec for the #http_spec.path record field. | Loïc Hoguin | |
2011-03-21 | Fix spec for cowboy_dispatcher:split_host/1. | Loïc Hoguin | |
2011-03-21 | Skip the request body if it hasn't been read by the handler. | Loïc Hoguin | |
2011-03-20 | Make 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-20 | Save the raw path string in the request. | Loïc Hoguin | |
2011-03-19 | Save the raw host string in the request. | Loïc Hoguin | |
2011-03-19 | Add support for the '*' path. | Loïc Hoguin | |
Mostly used by the following request: OPTIONS * HTTP/1.1 | |||
2011-03-19 | Rewrite 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-18 | Move the reply function to cowboy_http_req. | Loïc Hoguin | |
2011-03-17 | Initial commit. | Loïc Hoguin | |