-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Option for custom headers to proxy on CONNECT #1101
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
Comments
Looks like something very non standard. What's your use case exactly? If you're looking for proxy auth, that's something that you set on the ProxyServer object. |
In this case, a custom proxy is routing traffic to upstream proxies dynamically (can't be done with static tables), and we need to pass information to the custom proxy so it can route each request appropriately. For HTTP requests, this can be done easily with headers. But with HTTPS requests, we are limited to using This is certainly only a nice-to-have feature, but when I saw that curl had the option I thought it might be useful. |
Contribs welcome |
I guess contribution won't come. |
Similar to curl's
--proxy-header
option (https://curl.haxx.se/docs/manpage.html#--proxy-header), enable option to include headers in CONNECT requests to a proxy.If I missed this feature somewhere, sorry for the trouble.
The text was updated successfully, but these errors were encountered: