Comparing version 6.3.1 to 6.4.0
@@ -10,3 +10,2 @@ /*global btoa*/ | ||
this.encrypted = false; | ||
this.port = 80; | ||
Message.call(this, obj); | ||
@@ -81,2 +80,4 @@ } | ||
this.port = 443; | ||
} else { | ||
this.port = 80; | ||
} | ||
@@ -83,0 +84,0 @@ if (typeof auth !== 'undefined') { |
{ | ||
"name": "messy", | ||
"version": "6.3.1", | ||
"version": "6.4.0", | ||
"description": "Object model for HTTP and RFC822 messages", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -179,2 +179,6 @@ /*global describe, it*/ | ||
it('should leave host and port as undefined when not given', function () { | ||
expect(new HttpRequest('GET /').port, 'to be undefined'); | ||
}); | ||
describe('with a url passed in the request line', function () { | ||
@@ -181,0 +185,0 @@ it('should support a localhost url', function () { |
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
147394
3070