http-browserify
Advanced tools
Comparing version 0.1.14 to 0.2.1
@@ -11,3 +11,3 @@ var http = module.exports; | ||
if (!params.host) params.host = window.location.hostname; | ||
if (!params.port) params.port = 80; | ||
if (!params.port) params.port = params.scheme == 'https' ? 443 : 80; | ||
if (!params.scheme) params.scheme = window.location.protocol.split(':')[0]; | ||
@@ -14,0 +14,0 @@ |
@@ -18,2 +18,4 @@ var Stream = require('stream'); | ||
xhr.withCredentials = true; | ||
xhr.open( | ||
@@ -20,0 +22,0 @@ params.method || 'GET', |
{ | ||
"name": "http-browserify", | ||
"version": "0.1.14", | ||
"version": "0.2.1", | ||
"description": "http module compatability for browserify", | ||
@@ -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
615381
6607