From 6dbc1f9ef98eda6cfdffc0a47b68fb50eeb3863a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Sun, 16 Sep 2012 15:51:15 +0200 Subject: Add a private cowboy_req function to create a Req object Private means you must not used it. It's meant for internal use. --- include/http.hrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/http.hrl') 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. -- cgit v1.2.3