diff --git a/Libraries/Network/XMLHttpRequest.js b/Libraries/Network/XMLHttpRequest.js index 082aaa8932fe23..5b87b12a3c0962 100644 --- a/Libraries/Network/XMLHttpRequest.js +++ b/Libraries/Network/XMLHttpRequest.js @@ -256,7 +256,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;