unexpected-http
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -36,4 +36,3 @@ var http = require('http'), | ||
isHttps = false, | ||
host = location.hostname || 'localhost', | ||
port = location.port || 80; | ||
host = location.hostname || 'localhost'; | ||
if (!subject.isMessyHttpRequest) { | ||
@@ -74,3 +73,3 @@ if (typeof subject === 'string') { | ||
host: host, | ||
port: port, | ||
port: location.port || (isHttps ? 443 : 80), | ||
method: httpRequest.method, | ||
@@ -77,0 +76,0 @@ path: httpRequest.path, |
{ | ||
"name": "unexpected-http", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Unexpected plugin for testing http servers", | ||
@@ -5,0 +5,0 @@ "main": "lib/unexpectedHttp.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
13536
129