aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_req.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r--src/cowboy_req.erl5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 41408f6..1585c39 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -86,7 +86,6 @@
-export([set/2]).
-export([set_bindings/4]).
-export([lock/1]).
--export([to_list/1]).
-type cookie_opts() :: cow_cookie:cookie_opts().
-export_type([cookie_opts/0]).
@@ -1071,10 +1070,6 @@ set_bindings(HostInfo, PathInfo, Bindings, Req) ->
lock(Req) ->
Req#http_req{resp_state=locked}.
--spec to_list(req()) -> [{atom(), any()}].
-to_list(Req) ->
- lists:zip(record_info(fields, http_req), tl(tuple_to_list(Req))).
-
%% Internal.
%% We don't match on "keep-alive" since it is the default value.