|
@@ -85,7 +85,6 @@
|
|
|
-export([get/2]).
|
|
|
-export([set/2]).
|
|
|
-export([set_bindings/4]).
|
|
|
--export([lock/1]).
|
|
|
|
|
|
-type cookie_opts() :: cow_cookie:cookie_opts().
|
|
|
-export_type([cookie_opts/0]).
|
|
@@ -1066,10 +1065,6 @@ set_bindings(HostInfo, PathInfo, Bindings, Req) ->
|
|
|
Req#http_req{host_info=HostInfo, path_info=PathInfo,
|
|
|
bindings=Bindings}.
|
|
|
|
|
|
--spec lock(Req) -> Req when Req::req().
|
|
|
-lock(Req) ->
|
|
|
- Req#http_req{resp_state=locked}.
|
|
|
-
|
|
|
%% Internal.
|
|
|
|
|
|
%% We don't match on "keep-alive" since it is the default value.
|