Skip to content

Commit

Permalink
nothing interesting yet
Browse files Browse the repository at this point in the history
  • Loading branch information
geeksilva97 committed Mar 26, 2024
1 parent 3ea8395 commit 3455bab
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cowboy_req.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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">> := _}, _) ->
Expand Down

0 comments on commit 3455bab

Please sign in to comment.