• Vincent Pelletier's avatar
    HTTP: Distrust environment · 838c22fb
    Vincent Pelletier authored
    By default, requests accesses user's .netrc . Disable this using the only
    available (though undocumented) way: by having requests distrust the
    environment. An unfortunate side-effect is that it will now also ignore
    proxy settings (which do come from the environment variables, which would
    be fine to access for me, unlike the .netrc).
    838c22fb
http.py 8.51 KB