http-proxy
Advanced tools
Comparing version 1.5.3 to 1.6.0
@@ -43,2 +43,3 @@ var http = require('http'), | ||
* localAddress : <Local interface string to bind for outgoing connections> | ||
* changeOrigin: true/false, Default: false - changes the origin of the host header to the target URL> | ||
* } | ||
@@ -45,0 +46,0 @@ * |
@@ -77,2 +77,6 @@ var common = exports, | ||
if (options.changeOrigin) { | ||
outgoing.headers.host = outgoing.host; | ||
} | ||
return outgoing; | ||
@@ -79,0 +83,0 @@ }; |
{ | ||
"name" : "http-proxy", | ||
"version" : "1.5.3", | ||
"version" : "1.6.0", | ||
@@ -5,0 +5,0 @@ "repository" : { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34632
652