このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
lain.church
ヘルプ
登録
サインイン
squeegily
/
pleroma
ウォッチ
1
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
42
Wiki
アクティビティ
ソースを参照
FollowRedirects: Unconditionally release the connection if there is an error
There is no need for streaming the body if there is no body
chores/our-libs-hex-releases
rinpatch
4年前
親
9df5918974
コミット
12fa5541f0
1個のファイルの変更
、
4行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+4
-0
lib/pleroma/tesla/middleware/follow_redirects.ex
+ 4
- 0
lib/pleroma/tesla/middleware/follow_redirects.ex
ファイルの表示
@@ -55,6 +55,10 @@ defmodule Pleroma.HTTP.Middleware.FollowRedirects do
release_conn(opts)
{:error, {__MODULE__, :too_many_redirects}}
{:error, _} = e ->
release_conn(opts)
e
other ->
unless opts[:body_as] == :chunks do
release_conn(opts)
書き込み
プレビュー
読み込み中…
キャンセル
保存