Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative solution to #316: add requestModules capability #498

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vaughan99
Copy link

@vaughan99 vaughan99 commented Jan 17, 2022

I also need the ability to follow redirects automatically, but I realize the original #316 solution was intrusive in that it forced everyone to use follow-redirects. With a little more work, I wanted to present this solution, which instead allows for a dependency injection of request modules into the proxy. This alleviates express-http-proxy of any responsibility to supportfollow-redirects directly, and allows for custom request modules as well.

@vaughan99 vaughan99 marked this pull request as draft February 15, 2022 15:28
@vaughan99 vaughan99 marked this pull request as ready for review February 15, 2022 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant