aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2011-05-16 12:08:55 +0200
committerLoïc Hoguin <[email protected]>2011-05-16 12:08:55 +0200
commit98b9b1124ca96655a774259e3f18693161f42cfa (patch)
treee874d05a3b738ea45315d0fb9a53d8922fa4b2b5 /include
parent9f06bac7bff3c8a8edbd90e3de80792c45c03578 (diff)
parent4e09d776f5368f432971429f9868052f55151555 (diff)
downloadcowboy-98b9b1124ca96655a774259e3f18693161f42cfa.tar.gz
cowboy-98b9b1124ca96655a774259e3f18693161f42cfa.tar.bz2
cowboy-98b9b1124ca96655a774259e3f18693161f42cfa.zip
Merge remote-tracking branch 'nox/path-info'
Diffstat (limited to 'include')
-rw-r--r--include/http.hrl3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/http.hrl b/include/http.hrl
index 20c63cb..7af6a7e 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -1,4 +1,5 @@
%% Copyright (c) 2011, Loïc Hoguin <[email protected]>
+%% Copyright (c) 2011, Anthony Ramine <[email protected]>
%%
%% Permission to use, copy, modify, and/or distribute this software for any
%% purpose with or without fee is hereby granted, provided that the above
@@ -49,9 +50,11 @@
version = {1, 1} :: http_version(),
peer = undefined :: undefined | {Address::ip_address(), Port::ip_port()},
host = undefined :: undefined | cowboy_dispatcher:path_tokens(),
+ host_info = undefined :: undefined | cowboy_dispatcher:path_tokens(),
raw_host = undefined :: undefined | binary(),
port = undefined :: undefined | ip_port(),
path = undefined :: undefined | '*' | cowboy_dispatcher:path_tokens(),
+ path_info = undefined :: undefined | cowboy_dispatcher:path_tokens(),
raw_path = undefined :: undefined | binary(),
qs_vals = undefined :: undefined
| list({Name::binary(), Value::binary() | true}),