Comparing version 0.5.1 to 0.5.2
@@ -364,3 +364,3 @@ /* | ||
o.redirectCount++; | ||
o.url = res.headers.location; | ||
o.url = (new URL(res.headers.location, o.url)).href; // location can be the path only (no base url present) | ||
o.cookies = extractCookies (res.headers); | ||
@@ -367,0 +367,0 @@ return doRequest (o, finalCallback); |
{ | ||
"name": "httpreq", | ||
"description": "node-httpreq is a node.js library to do HTTP(S) requests the easy way", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"author": { | ||
@@ -13,3 +13,3 @@ "name": "Sam Decrock", | ||
"engines": { | ||
"node": ">= 0.8.0" | ||
"node": ">= 6.15.1" | ||
}, | ||
@@ -16,0 +16,0 @@ "repository": { |
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
34015
5