- The proxy settings are defined in the top level config.
- Upon the initial reqest, an
httpAdapter
is resolved, and within it, thetransport
type which can be [http(s)
(native),follow-redirect.http
,follow-redirect.http
].
- When redirects are disabled, the native
http
transport is chosen - When redirects are enabled, then:
- No proxy is set:
follow-redirect.http
- An http proxy is set:
follow-redirect.http
- An https proxy is set:
follow-redirect.https
- No proxy is set:
follow-redirect
has 613 npm packages depending on it. Some popular areaxios
,tinyreq
andnode-rest-client
.