TooTallNate / proxy-agents

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

Send Host header indentical to the target URI #133

Closed maximium closed 1 year ago

maximium commented 2 years ago

According to RFC7230, section 5.4.

maximium commented 2 years ago

Related to this issue

faroceann commented 2 years ago

I am in the same boat, failing to establish a connection without this conditional removed while connecting to a HAProxy instance -- will plan to use this branch for now.

TooTallNate commented 1 year ago

Thanks for pointing this out. I believe it is correct now. See here.