express-request-proxy icon indicating copy to clipboard operation
express-request-proxy copied to clipboard

Allow for a custom request object to be passed to express-request-proxy

Open talawahtech opened this issue 7 years ago • 1 comments

It would be great if we could pass in a custom request object for the proxy to use. This would allow us to configure advanced request options or use other libraries that wrap request to provide additional functionality e.g. https://github.com/FGRibreau/node-request-retry

In my case I am proxying and caching a somewhat unreliable API so I would like to be able to retry it a couple of times with an exponential backoff strategy if I get a 5XX response.

talawahtech avatar Jun 04 '17 22:06 talawahtech

I would second that.

thinkkevin avatar Feb 23 '18 21:02 thinkkevin