Handle 303 redirects

This commit is contained in:
Sergey Suprunenko 2019-07-28 20:24:39 +00:00 committed by kaniini
parent 08960d5016
commit 02dc651828
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ defmodule Pleroma.HTTP.Connection do
connect_timeout: 10_000, connect_timeout: 10_000,
recv_timeout: 20_000, recv_timeout: 20_000,
follow_redirect: true, follow_redirect: true,
force_redirect: true,
pool: :federation pool: :federation
] ]
@adapter Application.get_env(:tesla, :adapter) @adapter Application.get_env(:tesla, :adapter)