diff options
Diffstat (limited to 'src/cowboy_req.erl')
-rw-r--r-- | src/cowboy_req.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cowboy_req.erl b/src/cowboy_req.erl index bae5e78..f5ea458 100644 --- a/src/cowboy_req.erl +++ b/src/cowboy_req.erl @@ -690,7 +690,7 @@ has_resp_body(_) -> delete_resp_header(Name, Req=#{resp_headers := RespHeaders}) -> Req#{resp_headers => maps:remove(Name, RespHeaders)}; %% There are no resp headers so we have nothing to delete. -delete_resp_header(Name, Req) -> +delete_resp_header(_, Req) -> Req. -spec inform(cowboy:http_status(), req()) -> ok. |