@guyo13/node-http
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -51,3 +51,3 @@ 'use strict'; | ||
let responseBody = ''; | ||
const req = proto.request(url, { headers, method }, (res) => { | ||
const req = proto.request(urlObj, { headers, method }, (res) => { | ||
res.on('data', (chunk) => { | ||
@@ -54,0 +54,0 @@ responseBody += chunk; |
{ | ||
"name": "@guyo13/node-http", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Simple http/s requests based on Node http and https modules", | ||
@@ -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
3647