From 9f2e2dea65ebc05662b1918939324f32f6179307 Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 14 Aug 2019 14:45:21 +0300 Subject: [PATCH] another debug --- lib/pleroma/http/connection.ex | 4 +++- lib/pleroma/reverse_proxy/client/tesla.ex | 2 -- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pleroma/http/connection.ex b/lib/pleroma/http/connection.ex index 6cb26c0fe..20c83c572 100644 --- a/lib/pleroma/http/connection.ex +++ b/lib/pleroma/http/connection.ex @@ -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 diff --git a/lib/pleroma/reverse_proxy/client/tesla.ex b/lib/pleroma/reverse_proxy/client/tesla.ex index 282f9dcb7..fad577ec1 100644 --- a/lib/pleroma/reverse_proxy/client/tesla.ex +++ b/lib/pleroma/reverse_proxy/client/tesla.ex @@ -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,