-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tunneling to https with an auth http proxy #3429
Comments
Looks like RFC 7230 has advice on the |
We are having the same issue with
apparently after repeating Changing |
I tried using okhttp to connect to an https page using a http proxy
If I run a test, it seems to pass by RealConnection::createTunnel
The initial call responds with a 407 asking for auth and passes trough
but when I look at the headers I am getting :
The header equal to close is Proxy-Connection and not Connection. And thus it does not goes trough a proxy.
If I do the same process using curl in verbose mode, I see that it makes a tunnel, like it should do when using http to call https.
The question is :
Is the proxy returning a bad response, or should OkHttp be reading the right header (or both) ?
The text was updated successfully, but these errors were encountered: