Please remove followRedirects
from options since it does not support 🙏🏻
#57
Labels
bug
Something isn't working
followRedirects
from options since it does not support 🙏🏻
#57
Environment
nodejs: v20.12.0
Reproduction
Just look at the code is enough.
Describe the bug
node-http-proxy supports
followRedirects
, but this rewrite removed this feature.This should be documented in the readme or with an accurate
ProxyServerOptions
, instead of just saying "Checkout http-party/node-http-proxy for more options and examples.".I was misled by it and spent quite a time debugging it until I looked at the source code and saw this commented line 😢 .
httpxy/src/middleware/web-incoming.ts
Line 68 in 07778fb
Just remove this config from the
ProxyServerOptions
interface or document this would be less misleading 🙏🏻.httpxy/src/types.ts
Line 68 in 07778fb
(Still thanks for the rewrite, and I'm willing to contribute ❤️ )
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: