Support pre-emptive Proxy Authentication for plaintext (http) requests
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- networking
調査の方向性
Start by reading the mentioned createTunnelRequest logic and how authenticate handles proxy challenges. Clarify whether the requested work is pre-emptive Proxy-Authorization for plaintext HTTP, and establish the relevant standard behavior before proposing a change. Done means the expected behavior and scope are agreed, with tests covering the chosen HTTP proxy-authentication interaction.
索引モデルが issue の本文から書いたものです。
説明
I want to use okhttp to implement --proxy-user so that the header includes Proxy-Authorization. I found that authenticate can achieve this, and it indeed works under HTTPS. However, once I send an HTTP request, like:
Request request = new Request.Builder()
.url("http://httpbin.org/headers") // This service returns the received request headers
.header("saaa", "bbb")
.build();
This header is not automatically added. I looked at the underlying source code and found that createTunnelRequest creates a fakeAuthChallengeResponse, which explains why it appears to be mandatory.
My first question is: Why isn't HTTP designed in the same way?
My second question is: After returning 407, HTTP also includes Proxy-Authorization. Is this interaction defined by a standard?
Thank you for your answer.
- 主要言語
- Kotlin
- スター
- 47.1k
- フォーク
- 9.3k
- 平均マージ
- 18時間 18分
- マージ済み PR(30日)
- 15
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
lysine-dev/okhttp のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
lysine-dev/okhttp#9788 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
lysine-dev/okhttp#9761 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
Remove crossinline `addInterceptor` and `addNetworkInterceptor` overloads対応中かも @Amir-Golmoradi が 6 日前に担当しました。 オープンenhancement
難易度 3/5 1〜2日 初心者へのやさしさ 58/100
lysine-dev/okhttp#9779 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
HTTP/2 Data padding is not counted toward the connection flow-control window. This deadlocks connections with peers that pad.対応中かも @Amir-Golmoradi が 6 日前に担当しました。 オープンbug
難易度 3/5 1〜2日 初心者へのやさしさ 67/100
lysine-dev/okhttp#9772 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 55/100
lysine-dev/okhttp#9760 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
lysine-dev/okhttp の issue をすべて見る
似ている issue
-
afk-ok area:data-quality importer size:S
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
enorm-labs/event-junkie#3301 ·
メンテナーはふだん 1 日以内に返信
-
MDM: interfaceName cannot be set through managed configurations対応中かも @JulienUsson が今日担当しました。 オープンbug
難易度 1/5 1時間未満 初心者へのやさしさ 82/100
bk138/droidVNC-NG#404 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
rustyrazorblade/easy-db-lab#1017 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
openclaw/openclaw#172218 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信