mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-24 05:47:41 -04:00
Switch Gun to streaming instead of chunking the request
This commit is contained in:
parent
bf8b251dc1
commit
7237cb9c46
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ defmodule Pleroma.ReverseProxy.Client.Tesla do
|
|||
def request(method, url, headers, body, opts \\ []) do
|
||||
check_adapter()
|
||||
|
||||
opts = Keyword.put(opts, :body_as, :chunks)
|
||||
opts = Keyword.merge(opts, body_as: :stream, close_conn: false)
|
||||
|
||||
with {:ok, response} <-
|
||||
Pleroma.HTTP.request(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue