From a7b16eb136f61b8695a3aa89a20882927355d29e Mon Sep 17 00:00:00 2001 From: Jarrett Cruger Date: Wed, 26 Mar 2014 21:58:58 -0400 Subject: [PATCH] [api] add toProxy method to allow absolute URLs to be sent when sending to another proxy fixes #603 --- lib/http-proxy.js | 1 + lib/http-proxy/common.js | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/lib/http-proxy.js b/lib/http-proxy.js index 34029e864..5b677fbf3 100644 --- a/lib/http-proxy.js +++ b/lib/http-proxy.js @@ -42,6 +42,7 @@ module.exports.createProxyServer = module.exports.createServer = function create * ws : * xfwd : * secure : + * toProxy: