@trawlme/cli 3.14.0 → 3.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/api.js +1 -1
- package/package.json +1 -1
package/dist/lib/api.js
CHANGED
|
@@ -381,7 +381,7 @@ function toResponse({ status, statusText, headers, text }) {
|
|
|
381
381
|
const MAX_REDIRECTS = 3;
|
|
382
382
|
const REDIRECT_KEEPS_METHOD = new Set([307, 308]);
|
|
383
383
|
const REDIRECT_DROPS_BODY = new Set([301, 302, 303]);
|
|
384
|
-
const MAX_DECODED_BYTES = 64 * 1024 * 1024;
|
|
384
|
+
const MAX_DECODED_BYTES = (2 * 64 + 16) * 1024 * 1024;
|
|
385
385
|
const MAX_BODY_BYTES = MAX_DECODED_BYTES;
|
|
386
386
|
const MAX_STREAM_LINE_CHARS = 32 * 1024 * 1024;
|
|
387
387
|
const DECODE_LIMIT = { maxOutputLength: MAX_DECODED_BYTES };
|