Socket
Socket
Sign inDemoInstall

http-proxy

Package Overview
Dependencies
Maintainers
4
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

http-proxy - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

6

lib/http-proxy/passes/web-outgoing.js

@@ -111,5 +111,7 @@ var url = require('url'),

function writeStatusCode(req, res, proxyRes) {
res.statusCode = proxyRes.statusCode;
// From Node.js docs: response.writeHead(statusCode[, statusMessage][, headers])
if(proxyRes.statusMessage) {
res.statusMessage = proxyRes.statusMessage;
res.writeHead(proxyRes.statusCode, proxyRes.statusMessage);
} else {
res.writeHead(proxyRes.statusCode);
}

@@ -116,0 +118,0 @@ }

{
"name": "http-proxy",
"version": "1.15.0",
"version": "1.15.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc