Use a custom pool-aware FollowRedirects middleware

This commit is contained in:
rinpatch 2020-05-16 11:49:19 +03:00
commit 94c8f3cfaf
6 changed files with 109 additions and 24 deletions

View file

@ -24,8 +24,6 @@ defmodule Pleroma.HTTP.AdapterHelper.Hackney do
defp add_scheme_opts(opts, _), do: opts
def after_request(_), do: :ok
@spec get_conn(URI.t(), keyword()) :: {:ok, keyword()}
def get_conn(_uri, opts), do: {:ok, opts}
end