Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Feb 16, 2024
1 parent 1693893 commit b7b7ff8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/req/steps.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1408,9 +1408,7 @@ defmodule Req.Steps do
{"", [body_digest: "UNSIGNED-PAYLOAD"]}
end

request =
request
|> Req.Request.put_new_header("host", request.url.host)
request = Req.Request.put_new_header(request, "host", request.url.host)

headers = for {name, values} <- request.headers, value <- values, do: {name, value}

Expand Down

0 comments on commit b7b7ff8

Please sign in to comment.