Comparing version 1.3.2 to 1.3.3
@@ -54,2 +54,3 @@ 'use strict' | ||
if ((res.statusCode >= 200 && res.statusCode <= 299) || res.statusCode === 304) { | ||
res.headers['X-BFS-responseURL'] = (request.headers['x-forwarded-proto'] || 'http') + '://' + request.headers.host + '//http' + (scheme === 'http' ? '' : 's') + ':' + options.href | ||
response.writeHead(res.statusCode, res.headers) | ||
@@ -56,0 +57,0 @@ res.pipe(response, {end: true}) |
{ | ||
"name": "bfn-proxy", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "HTTP request proxy middleware for node.js", | ||
@@ -5,0 +5,0 @@ "author": "Blue Fidelity Inc. (https://www.bluefidelity.com/)", |
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
10993
129