stream-http
Advanced tools
Comparing version 2.1.1 to 2.2.0
@@ -70,6 +70,12 @@ var capability = require('./capability') | ||
var key = matches[1].toLowerCase() | ||
if (self.headers[key] !== undefined) | ||
if (key === 'set-cookie') { | ||
if (self.headers[key] === undefined) { | ||
self.headers[key] = [] | ||
} | ||
self.headers[key].push(matches[2]) | ||
} else if (self.headers[key] !== undefined) { | ||
self.headers[key] += ', ' + matches[2] | ||
else | ||
} else { | ||
self.headers[key] = matches[2] | ||
} | ||
self.rawHeaders.push(matches[1], matches[2]) | ||
@@ -76,0 +82,0 @@ } |
{ | ||
"name": "stream-http", | ||
"version": "2.1.1", | ||
"version": "2.2.0", | ||
"description": "Streaming http in the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
80687
1244