global-agent
                                
                                 global-agent copied to clipboard
                                
                                    global-agent copied to clipboard
                            
                            
                            
                        Global HTTP/HTTPS proxy agent configurable using environment variables.
Fixes issue where proxies to a https url doesn't work.
This is my code: ```ts import https from 'https'; import 'global-agent/bootstrap'; // https://docs.aws.amazon.com/general/latest/gr/pol.html const options = { hostname: 'docs.aws.amazon.com', port: 443, path: '/general/latest/gr/pol.html', method: 'GET', }; const req = https.request(options,...
I'm opening this here to start discussion and see if there's a workaround. I imagine this might be an issue for Node.js itself, but it's worth considering if we can...
Hello. Is there any possibility of making a release? The changes around rejectUnauthorized / NODE_TLS_REJECT_UNAUTHORIZED are quite important for security purposes and I'd like to make use of them. Thanks...
## What happens No possibility to disable `global-agent` from overwriting the `HTTP_PROXY` vars under Windows using Winows cmd/powershell while following [this section](https://github.com/gajus/global-agent#what-is-the-reason-global-agentbootstrap-does-not-use-http_proxy) and setting `GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE=''` ## Reproduction Install `yo` (which...
Hello, Could the global-agent support customized headers? Especially like request header "proxy-authorization", which is required to secure proxy server access, and also is a http standard (see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Proxy-Authorization). As I...
Thanks for developing this package. **Wanted to check with you with an Include URLs pattern** It will be good to also have another option where we can provide comma separated...
Provided options to configure ca certificate to the global-agent 1. ca certificates can be set while initiating global-agent (using constructor) 2. ca certificate can be set/reset after initiation of global-agent...
Problem: add Ca, cert and Key to the Https.Agent How can we add TLS certificat to the Agent with bootstrap() ? NodeJS: 12.16.0
This change makes it possible to configure `global-agent` to ignore certificate errors when the request-specific configuration is not provided. ## Problem Axios does not allow its users to ignore SSL...