In some rare cases even cached body can be used

This commit is contained in:
Kir_Antipov 2024-01-04 11:13:45 +00:00
parent 4b559b054a
commit 0ebd21131f

View file

@ -289,7 +289,7 @@ class CachedHttpResponse implements HttpResponse {
* @inheritdoc * @inheritdoc
*/ */
get bodyUsed(): boolean { get bodyUsed(): boolean {
return false; return !this._blob && !this._formData && this._response.bodyUsed;
} }
/** /**