diff --git a/include/types.hrl b/include/types.hrl index 7fe9f0a5..bdd4c5f8 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(nonempty_string()). -type match() :: '_' | '*' | list(string() | '_' | atom()). -type dispatch_rules() :: {Host::match(), list({Path::match(),