We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1edd01 commit 5e7e231Copy full SHA for 5e7e231
lib/validators/RequestValidator.js
@@ -18,7 +18,7 @@ class RequestValidator {
18
19
// The value MUST be a non-negative integer.
20
static _invalidUploadLengthHeader(value) {
21
- return isNaN(value) || parseInt(value, 10) < 1;
+ return isNaN(value) || parseInt(value, 10) < 0;
22
}
23
24
// The Upload-Defer-Length value MUST be 1.
0 commit comments