Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • S surykatka
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • surykatka
  • Merge requests
  • !17

HTTP: Distrust environment

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Vincent Pelletier requested to merge vpelletier/surykatka:master into master Aug 04, 2022
  • Overview 0
  • Commits 1
  • Changes 1

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).

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7