Environment support
See original GitHub issueNeeds 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:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I did some research in the Requests docs looking for environment variables it supports, and whether we support them already:
NETRC
REQUEST_CA_BUNDLE
orCURL_CA_BUNDLE
(see here and here).HTTP_PROXY
,HTTPS_PROXY
(see here),ALL_PROXY
,NO_PROXY
.(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
andos.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?
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.