update test
This commit is contained in:
parent
7ec64ac33f
commit
a9e4a97586
7 changed files with 83 additions and 11 deletions
|
|
@ -18,6 +18,7 @@ defmodule Pleroma.HTTP do
|
|||
|> (&Tesla.request(Connection.new(), &1)).()
|
||||
end
|
||||
|
||||
defp process_sni_options(options, nil), do: options
|
||||
defp process_sni_options(options, url) do
|
||||
uri = URI.parse(url)
|
||||
host = uri.host |> to_charlist()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue