TooTallNate / proxy-agents

Node.js HTTP Proxy Agents Monorepo
https://proxy-agents.n8.io
872 stars 229 forks source link

Support headers for `http-proxy-agent` #175

Closed jportner closed 1 year ago

jportner commented 1 year ago

Currently, HttpProxyAgent does not have a headers option at all. The HttpsProxyAgent does, though.

This PR adds a headers option, allowing consumers to set the proxy headers statically or dynamically.

Companion PR to update HttpsProxyAgent: #174

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: 301862fc6e20c74945bdfabc9ce1c76143588966

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ---------------- | ----- | | http-proxy-agent | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
proxy-agents ✅ Ready (Inspect) Visit Preview May 18, 2023 0:36am
TooTallNate commented 1 year ago

Thanks!