undici icon indicating copy to clipboard operation
undici copied to clipboard

Added EnvHttpProxyAgent to support HTTP_PROXY by default

Open 10xLaCroixDrinker opened this issue 10 months ago • 0 comments

This relates to...

Closes #1650

Changes

Added EnvHttpProxyAgent and made it the default global dispatcher. The addition to index-fetch.js was required to keep those tests passing after changing the global dispatcher to a ProxyAgent

Features

Automatically detect/support HTTP_PROXY, HTTPS_PROXY, & NO_PROXY

Bug Fixes

N/A

Breaking Changes and Deprecations

Using these env vars by default could result in unexpected behavior

Status

  • [x] I have read and agreed to the Developer's Certificate of Origin
  • [x] Tested
  • [S] Benchmarked (optional)
  • [S] Documented
  • [ ] Review ready
  • [ ] In review
  • [ ] Merge ready

10xLaCroixDrinker avatar Mar 25 '24 16:03 10xLaCroixDrinker