another debug
This commit is contained in:
parent
8b26870809
commit
9f2e2dea65
@ -23,7 +23,9 @@ defmodule Pleroma.HTTP.Connection do
|
||||
def new(opts \\ []) do
|
||||
middleware = [Tesla.Middleware.FollowRedirects]
|
||||
adapter = Application.get_env(:tesla, :adapter)
|
||||
Tesla.client(middleware, {adapter, options(opts)})
|
||||
options = options(opts)
|
||||
IO.inspect(options)
|
||||
Tesla.client(middleware, {adapter, options})
|
||||
end
|
||||
|
||||
# fetch http options
|
||||
|
@ -12,8 +12,6 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
|
||||
Keyword.get(opts, :adapter, [])
|
||||
|> Keyword.put(:body_as, :chunks)
|
||||
|
||||
IO.inspect(adapter_opts)
|
||||
|
||||
with {:ok, response} <-
|
||||
Pleroma.HTTP.request(
|
||||
method,
|
||||
|
Loading…
Reference in New Issue
Block a user