Open timur-han opened 10 years ago
The code as-is looks good.
However, the code just exists in a vacuum. Could you describe what you're using it for?
It looks nearly identical to the body of wrap-proxy
- perhaps we could replace the guts of a wrap-proxy
, which is already kinda big, with a call to this function?
To forward selective requests.
For instance only to forward a request on certain a path and under a certain condition.
On Thu, Oct 16, 2014 at 3:21 PM, Aaron France notifications@github.com wrote:
The code as-is looks good.
However, the code just exists in a vacuum. Could you describe what you're using it for?
— Reply to this email directly or view it on GitHub https://github.com/tailrecursion/ring-proxy/pull/10#issuecomment-59359547 .
@timur87 As @alandipert could you refactor it so that it shares implementation with wrap-proxy
?
A new function for forwarding single requests.