-
Notifications
You must be signed in to change notification settings - Fork 161
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
Proxy Authentication headers missing from HTTPS requests #74
Comments
Here what's happening:
So in order to access the proxy-* headers on HTTPS, you may have to hook into the connect process |
#171 should have solved this one. Here is my code now if it helps others:
|
Hello! I've attempted your suggested approach to implement basic authentication (included below). However I'm seeing that HTTPS requests do not include the same header information that HTTP requests include. For example, this HTTP request includes the expected headers:
The CURL request:
curl http://stackoverflow.com -v -x http://username:password@myproxy.com:8089
The node-http-mite-proxy request headers:
Whereas an HTTPS request, while showing similar header information in the CURL request, does not include the same headers in the proxy:
The CURL request
curl https://github.com -v -x http://username:password@myproxy.com:8089
The headers included in the proxy:
My proxy code:
In short, the proxy authentication works for HTTP requests but doesn't work for HTTPS requests and I'm not sure what accounts for the difference.
Thank you!
The text was updated successfully, but these errors were encountered: