Compare commits

...
Generated Vendored
+2 -2
View File
@@ -5068,7 +5068,7 @@ async function getResponseData(response) {
if (/application\/json/.test(contentType)) {
return response.json().catch(() => response.text()).catch(() => "");
}
if (!contentType || /^text\/|charset=utf-8$/.test(contentType)) {
if (!contentType || /^(text\/|charset=utf-8)$/.test(contentType)) {
return response.text();
}
return getBufferResponse(response);
@@ -31286,4 +31286,4 @@ module.exports = parseParams
/******/
/******/ })()
;
//# sourceMappingURL=index.js.map
//# sourceMappingURL=index.js.map