aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-21 22:12:23 +0100
committerLoïc Hoguin <[email protected]>2011-03-21 22:13:27 +0100
commit193968d53e890c5aeb845e3f54ba6fee6d300df7 (patch)
treeb1b6c93dd0989b46da221881e530e7030c6e4096 /include
parent7cacb88fecc2d64609168167303aaca00181ee53 (diff)
downloadcowboy-193968d53e890c5aeb845e3f54ba6fee6d300df7.tar.gz
cowboy-193968d53e890c5aeb845e3f54ba6fee6d300df7.tar.bz2
cowboy-193968d53e890c5aeb845e3f54ba6fee6d300df7.zip
Fix spec for cowboy_dispatcher:split_host/1.
Diffstat (limited to 'include')
-rw-r--r--include/types.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/types.hrl b/include/types.hrl
index 1940a14..7fe9f0a 100644
--- a/include/types.hrl
+++ b/include/types.hrl
@@ -25,7 +25,7 @@
-type port_number() :: 0..65535.
-type bindings() :: list({Key::atom(), Value::string()}).
--type path_tokens() :: '*' | list(string()).
+-type path_tokens() :: list(string()).
-type match() :: '_' | '*' | list(string() | '_' | atom()).
-type dispatch_rules() :: {Host::match(), list({Path::match(),