aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_dispatcher.erl
AgeCommit message (Collapse)Author
2011-04-18Remove the include/types.hrl file.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-14Add a test case for cowboy_dispatcher:match/3.Loïc Hoguin
Added it while debugging an issue, so why not keep it?
2011-04-08Discard the port from the host before tokenizing it.Loïc Hoguin
2011-03-21Fix tests for cowboy_dispatcher:split_path/1.Loïc Hoguin
2011-03-21Fix spec for cowboy_dispatcher:split_path/1.Loïc Hoguin
2011-03-20Remove a dead code clause for split_path.Loïc Hoguin
2011-03-20Save the raw path 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-17Initial commit.Loïc Hoguin