0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-15 12:40:25 +00:00

Save the raw host string in the request.

This commit is contained in:
Loïc Hoguin 2011-03-19 23:57:23 +01:00
parent bd3a646316
commit 8085529f48
2 changed files with 4 additions and 3 deletions

View file

@ -19,8 +19,8 @@
method = 'GET' :: http_method(),
version = {1, 1} :: http_version(),
peer = undefined :: undefined | {Address::ip_address(), Port::port_number()},
host = undefined :: undefined | path_tokens(), %% todo
raw_host = undefined :: undefined | string(), %% todo
host = undefined :: undefined | path_tokens(),
raw_host = undefined :: undefined | string(),
path = undefined :: undefined | path_tokens(), %% todo
raw_path = undefined :: undefined | string(), %% todo
qs_vals = undefined :: undefined | bindings(), %% todo