aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/http.hrl b/include/http.hrl
index 7e0380d..2364daa 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -47,12 +47,12 @@
method = 'GET' :: http_method(),
version = {1, 1} :: http_version(),
peer = undefined :: undefined | {inet:ip_address(), inet:ip_port()},
- host = undefined :: undefined | cowboy_dispatcher:path_tokens(),
- host_info = undefined :: undefined | cowboy_dispatcher:path_tokens(),
+ host = undefined :: undefined | cowboy_dispatcher:tokens(),
+ host_info = undefined :: undefined | cowboy_dispatcher:tokens(),
raw_host = undefined :: undefined | binary(),
port = undefined :: undefined | inet:ip_port(),
- path = undefined :: undefined | '*' | cowboy_dispatcher:path_tokens(),
- path_info = undefined :: undefined | cowboy_dispatcher:path_tokens(),
+ path = undefined :: undefined | '*' | cowboy_dispatcher:tokens(),
+ path_info = undefined :: undefined | cowboy_dispatcher:tokens(),
raw_path = undefined :: undefined | binary(),
qs_vals = undefined :: undefined | list({binary(), binary() | true}),
raw_qs = undefined :: undefined | binary(),