@azteam/http-client
Advanced tools
Comparing version 1.0.70 to 1.0.71
@@ -141,3 +141,3 @@ "use strict"; | ||
put(url, datastringify = true) { | ||
put(url, data, stringify = true) { | ||
return this._requestAPI(url, 'put', data, stringify); | ||
@@ -156,3 +156,4 @@ } | ||
responseType: 'stream', | ||
url: encodeURI(url) | ||
url // url: encodeURI(url), | ||
}; | ||
@@ -184,4 +185,3 @@ | ||
_requestAPI(url, method = 'get', body = null, stringify = true) { | ||
url = encodeURI(url); | ||
// url = encodeURI(url); | ||
if (method === 'get') { | ||
@@ -188,0 +188,0 @@ body && (url += '?' + _querystring.default.stringify(body)); |
{ | ||
"name": "@azteam/http-client", | ||
"version": "1.0.70", | ||
"version": "1.0.71", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
20030