Skip to content

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

Closed
dgllghr opened this issue Feb 28, 2016 · 4 comments
Closed

Option for custom headers to proxy on CONNECT #1101

dgllghr opened this issue Feb 28, 2016 · 4 comments

Comments

@dgllghr
Copy link

dgllghr commented Feb 28, 2016

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.

@slandelle
Copy link
Contributor

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.

@dgllghr
Copy link
Author

dgllghr commented Feb 28, 2016

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 Proxy-Authorization.

This is certainly only a nice-to-have feature, but when I saw that curl had the option I thought it might be useful.

@slandelle
Copy link
Contributor

Contribs welcome

@slandelle
Copy link
Contributor

I guess contribution won't come.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants