Skip to content

Commit

Permalink
Fix inform headers
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Sep 9, 2024
1 parent e3f29ab commit 616f667
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/plug/cowboy/conn.ex
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ defmodule Plug.Cowboy.Conn do

@impl true
def inform(req, status, headers) do
req = to_headers_map(req, headers)
:cowboy_req.inform(status, %{}, req)
:cowboy_req.inform(status, to_headers_map(headers), req)
end

@impl true
Expand Down

0 comments on commit 616f667

Please sign in to comment.