aboutsummaryrefslogtreecommitdiffstats
path: root/include/http.hrl
diff options
context:
space:
mode:
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 ff41543..7e0380d 100644
--- a/include/http.hrl
+++ b/include/http.hrl
@@ -34,7 +34,7 @@
| 'Set-Cookie2' | 'X-Forwarded-For' | 'Cookie' | 'Keep-Alive'
| 'Proxy-Connection' | binary().
-type http_headers() :: list({http_header(), binary()}).
-%% -type http_cookies() :: term(). %% @todo
+-type http_cookies() :: list({binary(), binary()}).
-type http_status() :: non_neg_integer() | binary().
-record(http_req, {
@@ -58,7 +58,7 @@
raw_qs = undefined :: undefined | binary(),
bindings = undefined :: undefined | cowboy_dispatcher:bindings(),
headers = [] :: http_headers(),
-%% cookies = undefined :: undefined | http_cookies() %% @todo
+ cookies = undefined :: undefined | http_cookies(),
%% Request body.
body_state = waiting :: waiting | done,