You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hackney recently introduced support for making requests on unix sockets using the scheme http+unix://. The following code on base.ex prepends an extra http:// on the url breaking the request:
@doc false
def default_process_url(url) do
case url |> String.slice(0, 8) |> String.downcase do
"http://" <> _ -> url
"https://" <> _ -> url
_ -> "http://" <> url
end
end
As a workaround, I can implement my own module with the HTTPoison.Base macro and override process_url.
Can we get that allowed on the default_process_url as well?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
hackney recently introduced support for making requests on unix sockets using the scheme
http+unix://
. The following code onbase.ex
prepends an extrahttp://
on the url breaking the request:As a workaround, I can implement my own module with the HTTPoison.Base macro and override
process_url
.Can we get that allowed on the default_process_url as well?
Thanks!
The text was updated successfully, but these errors were encountered: