tesla adapter options debug
This commit is contained in:
parent
888ac63df4
commit
db848b2a13
@ -41,8 +41,6 @@ defmodule Pleroma.HTTP do
|
|||||||
options
|
options
|
||||||
end
|
end
|
||||||
|
|
||||||
IO.inspect(options)
|
|
||||||
|
|
||||||
params = Keyword.get(options, :params, [])
|
params = Keyword.get(options, :params, [])
|
||||||
|
|
||||||
%{}
|
%{}
|
||||||
|
@ -12,6 +12,8 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
|
|||||||
Keyword.get(opts, :adapter, [])
|
Keyword.get(opts, :adapter, [])
|
||||||
|> Keyword.put(:body_as, :chunks)
|
|> Keyword.put(:body_as, :chunks)
|
||||||
|
|
||||||
|
IO.inspect(adapter_opts)
|
||||||
|
|
||||||
with {:ok, response} <-
|
with {:ok, response} <-
|
||||||
Pleroma.HTTP.request(
|
Pleroma.HTTP.request(
|
||||||
method,
|
method,
|
||||||
|
Loading…
Reference in New Issue
Block a user