Use a custom pool-aware FollowRedirects middleware
This commit is contained in:
parent
281ddd5e37
commit
94c8f3cfaf
6 changed files with 109 additions and 24 deletions
|
|
@ -9,9 +9,6 @@ defmodule Pleroma.HTTP.AdapterHelper.Default do
|
|||
AdapterHelper.maybe_add_proxy(opts, AdapterHelper.format_proxy(proxy))
|
||||
end
|
||||
|
||||
@spec after_request(keyword()) :: :ok
|
||||
def after_request(_opts), do: :ok
|
||||
|
||||
@spec get_conn(URI.t(), keyword()) :: {:ok, keyword()}
|
||||
def get_conn(_uri, opts), do: {:ok, opts}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue