Support pre-emptive Proxy Authentication for plaintext (http) requests
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- networking
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Kotlin
- Star
- 47.1k
- Fork
- 9.3k
- Merge trung bình
- 18 giờ 18 phút
- Pull request đã merge (30 ngày)
- 15
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của lysine-dev/okhttp
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
lysine-dev/okhttp#9788 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
lysine-dev/okhttp#9761 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Remove crossinline `addInterceptor` and `addNetworkInterceptor` overloadsCó thể làm lại được @Amir-Golmoradi đã nhận 8 ngày trước và không có pull request nào đang mở. Đang mởenhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
lysine-dev/okhttp#9779 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
HTTP/2 Data padding is not counted toward the connection flow-control window. This deadlocks connections with peers that pad.Có thể đã có người làm @Amir-Golmoradi đã nhận 4 ngày trước. Đang mởbug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 67/100
lysine-dev/okhttp#9772 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
lysine-dev/okhttp#9760 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của lysine-dev/okhttp
Issue tương tự
-
binding:web core docs p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
RunanywhereAI/runanywhere-sdks#1123 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
StepExamBenchmarkTest runs a loop and prints a timing but asserts nothingCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởjules
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
open-learning-exchange/myplanet#18199 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 4 ngày
-
getCredentials fails on an unrecognized fingerprint while the biometric prompt is still openĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
auth0/Auth0.Android#1095 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Scheme-less stream URLs throw NullPointerException instead of URISyntaxExceptionCó thể đã có người làm @blihio đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pedroSG94/RootEncoder#2218 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Test: PlantDetailPlantEditLockTest silent-apply case fails depending on the calendar date (seasonal amplitude)Có thể đã có người làm @LocNgu đã nhận hôm nay. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
LocNgu/YAPT-Yet-Another-Plant-Tracker#907 ·
Maintainer thường phản hồi trong vòng 1 ngày