mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 20:30:23 +00:00
Make the new cowboy_req tests more realistic
This commit is contained in:
parent
f34ef2ceae
commit
e5a8088e68
3 changed files with 28 additions and 23 deletions
|
@ -580,7 +580,6 @@ set_resp_headers(Headers, Req=#{resp_headers := RespHeaders}) ->
|
|||
set_resp_headers(Headers, Req) ->
|
||||
Req#{resp_headers => Headers}.
|
||||
|
||||
|
||||
-spec resp_header(binary(), req()) -> binary() | undefined.
|
||||
resp_header(Name, Req) ->
|
||||
resp_header(Name, Req, undefined).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue