aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-03-19 23:57:23 +0100
committerLoïc Hoguin <[email protected]>2011-03-19 23:57:23 +0100
commit8085529f48dd3a19baf5a4218d462e0afcfedbf9 (patch)
tree38da256f9c02258f3ada42d559f0ffe30fe843bd /include
parentbd3a64631657b5095a2c22ea342c906c9c2aecae (diff)
downloadcowboy-8085529f48dd3a19baf5a4218d462e0afcfedbf9.tar.gz
cowboy-8085529f48dd3a19baf5a4218d462e0afcfedbf9.tar.bz2
cowboy-8085529f48dd3a19baf5a4218d462e0afcfedbf9.zip
Save the raw host string in the request.
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/http.hrl b/include/http.hrl
index e66947d..cff3e67 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -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