You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

simple-http-proxy

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-http-proxy - npm Package Compare versions

Comparing version

to
0.5.8

2

index.js

@@ -74,3 +74,3 @@

// Pass along our headers
options.headers[xforward.proto] = req.headers[xforward.proto] || req.connection.encrypted ? 'https' : 'http';
options.headers[xforward.proto] = req.headers[xforward.proto] || (req.connection.encrypted ? 'https' : 'http');
options.headers[xforward.host] = req.headers[xforward.host] || hostInfo[0];

@@ -77,0 +77,0 @@ options.headers[xforward.path] = req.headers[xforward.path] || resPath;

{
"name": "simple-http-proxy",
"version": "0.5.7",
"version": "0.5.8",
"description": "Simple proxy middleware",

@@ -5,0 +5,0 @@ "main": "index.js",