-
-
Notifications
You must be signed in to change notification settings - Fork 839
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 support #36
Comments
Thoughts on implementing sans-I/O proxy handlers as a part of connection generation? Most proxy interchanges aren't as complex. |
I’ve not really looked into what needs to change for proxy support on each of http, https. Is there a good resource to point at, or summary of the difference in how the request is formed in each of those two cases? |
HTTP/HTTPS: Send a request with method=CONNECT, target=[host]:[port] along with proxy headers, if you get a 2XX response back then you start using that TCP connection as a tunnel immediately. Basically all proxies have three states: Waiting for Response, Proxy Tunnel Ready, and Proxy Error. |
is http/s proxy support for httpx currently? |
Not currently, we would happily accept a PR from anyone willing to tackle even one of the above proxy scenarios. :) |
@sethmlarson Closing this since I think we now have the basics in (HTTP/HTTPS, forward/tunnel) and SOCKS proxy is tracked in #203. If I missed something anyone please reopen. :) |
Best place to look would be
urllib3
.Will need to be handled by the "dispatch" layer.
The text was updated successfully, but these errors were encountered: