aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cowboy_req.erl7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl
index 07bc014..19e6fa2 100644
--- a/src/cowboy_req.erl
+++ b/src/cowboy_req.erl
@@ -84,7 +84,6 @@
-export([append_buffer/2]).
-export([get/2]).
-export([set/2]).
--export([set_bindings/4]).
-type cookie_opts() :: cow_cookie:cookie_opts().
-export_type([cookie_opts/0]).
@@ -1059,12 +1058,6 @@ set([{socket, Val}|Tail], Req) -> set(Tail, Req#http_req{socket=Val});
set([{transport, Val}|Tail], Req) -> set(Tail, Req#http_req{transport=Val});
set([{version, Val}|Tail], Req) -> set(Tail, Req#http_req{version=Val}).
--spec set_bindings(cowboy_router:tokens(), cowboy_router:tokens(),
- cowboy_router:bindings(), Req) -> Req when Req::req().
-set_bindings(HostInfo, PathInfo, Bindings, Req) ->
- Req#http_req{host_info=HostInfo, path_info=PathInfo,
- bindings=Bindings}.
-
%% Internal.
%% We don't match on "keep-alive" since it is the default value.