question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Environment support

See original GitHub issue

Needs to handle anything that requests currently deals with when trust_env=True is set. .netrc, REQUEST_CA_BUNDLE and anything else relevant.

First step to dealing with this would be to outline exactly what set of stuff requests includes. If anyone wants to dig into this and comment on this issue comprehensively with what set of behavior we need, then that’d be a great start.

We have adapters/environment.py currently stubbed out to deal with adding in this behavior.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

3reactions
florimondmancacommented, Sep 15, 2019

I did some research in the Requests docs looking for environment variables it supports, and whether we support them already:

(Note that the names of the *_PROXY environment variables seems be a convention.)

To make extra sure we don’t miss anything, it would probably be worth cloning the Requests repo and grepping our way using environment variable, os.getenv and os.environ.get.

The scope of this issue is rather broad, so if that’s confirmed and as suggested by @sethmlarson in https://github.com/encode/httpx/pull/277#issuecomment-525036637, how about creating issues for each set of environment variables?

3reactions
jhtimminscommented, Jul 24, 2019

If this is still important, I’d be interested in doing some research here to determine what exactly requests includes, and then possibly implementing proper functionality.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is Environmental Support? - Workplace Testing
Environmental support is a term used to describe the services and other factors near a workplace that contribute to the overall health and...
Read more >
Environmental Support - Glossary | CSRC
Definition(s):. Any environmental factor for which the organization determines that it needs to continue to provide support in a contingency situation, even if ......
Read more >
Environmental Support - an overview | ScienceDirect Topics
Civic ecology supports environmental stewardship practices such as planting trees, restoring watersheds, establishing neighborhood recycling programs, ...
Read more >
Environmental Support - Workplace Health Promotion - CDC
See health-related environmental support strategies and interventions listed for physical activity including activities recommended to address depression.
Read more >
Support environments and consent to access customer data
A support environment is a replica of an environment that Microsoft Support creates in your tenant. We use support environments to reproduce and ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found