Comparing version 5.4.0 to 5.4.1
@@ -264,2 +264,4 @@ 'use strict'; | ||
opts.method = opts.method.toUpperCase(); | ||
if (opts.hostname === 'unix') { | ||
@@ -324,3 +326,3 @@ var matches = /(.+)\:(.+)/.exec(opts.path); | ||
return got(url, objectAssign({}, opts, {method: el.toUpperCase()}), cb); | ||
return got(url, objectAssign({}, opts, {method: el}), cb); | ||
}; | ||
@@ -344,3 +346,3 @@ }); | ||
return got.stream(url, objectAssign({}, opts, {method: el.toUpperCase()}), cb); | ||
return got.stream(url, objectAssign({}, opts, {method: el}), cb); | ||
}; | ||
@@ -347,0 +349,0 @@ }); |
{ | ||
"name": "got", | ||
"version": "5.4.0", | ||
"version": "5.4.1", | ||
"description": "Simplified HTTP/HTTPS requests", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
20180
299