From 5bd936db6606a27dfd91a0e2675889b58c212376 Mon Sep 17 00:00:00 2001 From: Tom Burdick Date: Fri, 8 Jul 2011 13:41:30 -0500 Subject: Implement cookies in cowboy_http_req --- include/http.hrl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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, -- cgit v1.2.3