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 3cdf441 commit 3615d33Copy full SHA for 3615d33
src/requestresponseinfo.ts
@@ -466,7 +466,7 @@ class RequestResponseInfo {
466
const contentType = headers.get(CONTENT_TYPE);
467
const contentLength = headers.get(CONTENT_LENGTH);
468
469
- if (Number(contentLength) !== length) {
+ if (contentLength !== null && Number(contentLength) !== length) {
470
return false;
471
}
472
0 commit comments