mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
add connection: close to proxy request
This commit is contained in:
parent
7ee4934e8f
commit
03301168c7
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ defmodule Philomena.Http do
|
|||
defp add_host(headers, url) do
|
||||
%{host: host} = URI.parse(url)
|
||||
|
||||
Keyword.merge(["Host": host], headers)
|
||||
Keyword.merge(["Host": host, "Connection": "close"], headers)
|
||||
end
|
||||
|
||||
defp proxy_host do
|
||||
|
|
Loading…
Reference in a new issue