From 0ebd21131fd9accd99b62af32dae3ee1ef7ba8f3 Mon Sep 17 00:00:00 2001 From: Kir_Antipov Date: Thu, 4 Jan 2024 11:13:45 +0000 Subject: [PATCH] In some rare cases even cached body can be used --- src/utils/net/http-response.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/net/http-response.ts b/src/utils/net/http-response.ts index e5109c5..ea4c332 100644 --- a/src/utils/net/http-response.ts +++ b/src/utils/net/http-response.ts @@ -289,7 +289,7 @@ class CachedHttpResponse implements HttpResponse { * @inheritdoc */ get bodyUsed(): boolean { - return false; + return !this._blob && !this._formData && this._response.bodyUsed; } /**