Comparing version 1.3.3 to 1.3.4
@@ -54,3 +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 | ||
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) | ||
@@ -57,0 +57,0 @@ res.pipe(response, {end: true}) |
{ | ||
"name": "bfn-proxy", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"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