diff --git a/Libraries/Network/XMLHttpRequest.js b/Libraries/Network/XMLHttpRequest.js index d17001d3743f34..527de858cf9814 100644 --- a/Libraries/Network/XMLHttpRequest.js +++ b/Libraries/Network/XMLHttpRequest.js @@ -254,7 +254,11 @@ class XMLHttpRequest extends EventTarget(...XHR_EVENTS) { if (typeof this._response === 'object' && this._response) { this._cachedResponse = BlobManager.createFromOptions(this._response); } else { - throw new Error(`Invalid response for blob: ${this._response}`); + if (this._response === '') { + this._cachedResponse = null; + } else { + throw new Error(`Invalid response for blob: ${this._response}`); + } } break;