aboutsummaryrefslogtreecommitdiffstats
path: root/include/http.hrl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2012-09-16 15:51:15 +0200
committerLoïc Hoguin <[email protected]>2012-09-17 13:57:28 +0200
commit6dbc1f9ef98eda6cfdffc0a47b68fb50eeb3863a (patch)
tree7e395e8aba07811cac5d364567bed26046c45257 /include/http.hrl
parentc1f5a2acb2bcd6e9ba549bf5d3c3fd0c6789aeae (diff)
downloadcowboy-6dbc1f9ef98eda6cfdffc0a47b68fb50eeb3863a.tar.gz
cowboy-6dbc1f9ef98eda6cfdffc0a47b68fb50eeb3863a.tar.bz2
cowboy-6dbc1f9ef98eda6cfdffc0a47b68fb50eeb3863a.zip
Add a private cowboy_req function to create a Req object
Private means you must not used it. It's meant for internal use.
Diffstat (limited to 'include/http.hrl')
-rw-r--r--include/http.hrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/http.hrl b/include/http.hrl
index e2a130b..e03e2d3 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -28,10 +28,10 @@
host = undefined :: undefined | binary(),
host_info = undefined :: undefined | cowboy_dispatcher:tokens(),
port = undefined :: undefined | inet:port_number(),
- path = undefined :: undefined | binary(),
+ path = undefined :: binary(),
path_info = undefined :: undefined | cowboy_dispatcher:tokens(),
qs_vals = undefined :: undefined | list({binary(), binary() | true}),
- raw_qs = undefined :: undefined | binary(),
+ raw_qs = undefined :: binary(),
bindings = undefined :: undefined | cowboy_dispatcher:bindings(),
headers = [] :: cowboy_http:headers(),
p_headers = [] :: [any()], %% @todo Improve those specs.