-
-
Notifications
You must be signed in to change notification settings - Fork 116
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 / PAC file support #869
Comments
I'm guessing you mean files as described here? |
To clarify, i don't want to check PAC file, i want to use it with lychee like |
Ooh, of course, sorry. That makes a lot of sense. We'd need to find a Rust crate, which parses the format and then pass the parameters to reqwest. I think they have support for that. (Can't check right now.) |
I had a quick look and reqwest supports it just fine: https://docs.rs/reqwest/latest/reqwest/struct.Proxy.html |
@mre It would be helpful if proxying support were separated from PAC file support. |
The question is how that would look like. Any preferred syntax? Something like |
Supporting the proxying environment variables similar to curl (and other tools) would be the most convenient and standard starting point. |
At some point I really need to look at the curl docs. So many great features. |
Yeah, and this part of it is pretty conventional across tools. |
We'll stick to that then. |
https://curl.se/docs/manpage.html has an Environment section that contains the relevant information. SOCKS5 proxying is the most relevant feature as it can support TLS better. |
I don't know much about socks.
Similar to the example they show in the docs (thanks for sharing!). |
Do you mean a complement? It's a (strict) superset yes. |
It will be nice if lychee can have support for proxy and PAC file, i have sites that are blocked in my country.
The text was updated successfully, but these errors were encountered: