aboutsummaryrefslogtreecommitdiffstats
path: root/include
AgeCommit message (Collapse)Author
2011-04-18Move the type application_start_type() into cowboy_app.Loïc Hoguin
2011-04-18Move the dispatcher related types into cowboy_dispatcher.Loïc Hoguin
2011-04-18Rename match() into match_rule().Loïc Hoguin
2011-04-18Rename dispatch() into dispatch_rules().Loïc Hoguin
2011-04-18Rename dispatch_rules() into dispatch_rule().Loïc Hoguin
2011-04-18Move HTTP types definitions to include/http.hrl (for now).Loïc Hoguin
2011-04-18Move the opaque type sslsocket() out of include/types.hrl.Loïc Hoguin
2011-04-18Use the inet:socket() type instead of the user-defined one.Loïc Hoguin
2011-04-17Use the inet:ip_address() type instead of the user-defined one.Loïc Hoguin
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