mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 04:10:24 +00:00
nothing interesting yet
This commit is contained in:
parent
b77dd29133
commit
05509c6c4b
1 changed files with 4 additions and 0 deletions
|
@ -726,6 +726,10 @@ set_resp_header(Name, Value, Req=#{resp_headers := RespHeaders}) ->
|
|||
set_resp_header(Name,Value, Req) ->
|
||||
Req#{resp_headers => #{Name => Value}}.
|
||||
|
||||
-spec set_resp_headers_list(list(term()), req())
|
||||
set_resp_headers_list(List, Req) ->
|
||||
ok.
|
||||
|
||||
-spec set_resp_headers(cowboy:http_headers(), Req)
|
||||
-> Req when Req::req().
|
||||
set_resp_headers(#{<<"set-cookie">> := _}, _) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue