Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-04-18 | Replace port_number() by ip_port() from kernel/include/inet.hrl. | Loïc Hoguin | |
2011-04-18 | Replace posix() by atom(), for now. | Loïc Hoguin | |
The type isn't exported by OTP so we don't win much. Also, inet.erl and file.erl define posix() différently, so OTP needs to stop being so confuse in the first place before we can attempt to use it properly. | |||
2011-04-18 | Move the type application_start_type() into cowboy_app. | Loïc Hoguin | |
2011-04-18 | Move the dispatcher related types into cowboy_dispatcher. | Loïc Hoguin | |
2011-04-18 | Rename match() into match_rule(). | Loïc Hoguin | |
2011-04-18 | Rename dispatch() into dispatch_rules(). | Loïc Hoguin | |
2011-04-18 | Rename dispatch_rules() into dispatch_rule(). | Loïc Hoguin | |
2011-04-18 | Move HTTP types definitions to include/http.hrl (for now). | Loïc Hoguin | |
2011-04-18 | Move the opaque type sslsocket() out of include/types.hrl. | Loïc Hoguin | |
2011-04-18 | Use the inet:socket() type instead of the user-defined one. | Loïc Hoguin | |
2011-04-17 | Use the inet:ip_address() type instead of the user-defined one. | Loïc Hoguin | |
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 | |