diff options
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r-- | src/cowboy_req.erl | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl index 23a3868..a6e2de5 100644 --- a/src/cowboy_req.erl +++ b/src/cowboy_req.erl @@ -83,9 +83,6 @@ -export([get/2]). -export([set/2]). -export([set_bindings/4]). - -%% Misc API. --export([compact/1]). -export([lock/1]). -export([to_list/1]). @@ -1002,13 +999,6 @@ set_bindings(HostInfo, PathInfo, Bindings, Req) -> Req#http_req{host_info=HostInfo, path_info=PathInfo, bindings=Bindings}. -%% Misc API. - --spec compact(Req) -> Req when Req::req(). -compact(Req) -> - Req#http_req{host_info=undefined, path_info=undefined, - bindings=undefined, headers=[]}. - -spec lock(Req) -> Req when Req::req(). lock(Req) -> Req#http_req{resp_state=locked}. |