-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Does not work with Microsoft ISA Firewall Client for ISA Server #2036
Comments
Let me try to understand what your problem is. You want requests not to explicitly consult a proxy (presumably because the ISA server proxy is transparent). The environment proxies are gathered in two ways: firstly, by consulting environment variables (
Note that |
@Lukasa Yes, I want requests not to explicitly consult a proxy. I use ISA Client for proxy-transparency. I do not set the environment variables Thank you for info about |
Glad to hear it. =) I wonder whether ISA Client adds information to the registry that's returned by |
You may download the tar.gz/zip file and pass it to the pip install On Mon, Oct 26, 2015 at 12:43 PM, Fan Du notifications@github.com wrote:
|
Requests
does not work if I try to use it in a corporate network with Microsoft ISA Server when I use ISA Firewal Clent. I do not set any proxy settings, butrequests
despite it have looked proxy. This behavior has been defined by default fortrust_env
in the modulesessions
in the line range 423-427 (https://github.com/kennethreitz/requests/blob/master/requests/sessions.py#L423).In my network function
get_environ_proxies
returns a list of proxy servers, and it does not work for me. For correct work via ISA Firewal Clent, dict of proxies must be empty always.For example, this behavior prevents to use
pip
(see pypa/pip#1182 (comment)).The text was updated successfully, but these errors were encountered: