@impl true
def get(url, headers, options) do
- options = Keyword.put_new(options, :adapter, pool: :upload)
+ options = Keyword.put_new(options, :adapter, pool: :default)
with {:ok, %Tesla.Env{} = env} <- HTTP.get(url, headers, options) do
{:ok, {env.status, env.headers, env.body}}
@impl true
def head(url, headers, options) do
- options = Keyword.put_new(options, :adapter, pool: :upload)
+ options = Keyword.put_new(options, :adapter, pool: :default)
with {:ok, %Tesla.Env{} = env} <- HTTP.head(url, headers, options) do
{:ok, {env.status, env.headers}}