diff options
author | Loïc Hoguin <[email protected]> | 2012-09-16 15:51:15 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2012-09-17 13:57:28 +0200 |
commit | 6dbc1f9ef98eda6cfdffc0a47b68fb50eeb3863a (patch) | |
tree | 7e395e8aba07811cac5d364567bed26046c45257 /include/http.hrl | |
parent | c1f5a2acb2bcd6e9ba549bf5d3c3fd0c6789aeae (diff) | |
download | cowboy-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.hrl | 4 |
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. |