Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix HEAD request failing with
Invalid response for blob
(facebook#1…
…9567) Summary: Fixes facebook#18223 This is a fairly simple solution to what seems to be a recurring issue where certain requests that result in an empty body where JSON is expected throw an error rather than being handled gracefully. Client side error handling is not being hit as this is being thrown at a lower level. Make a http request that results in an empty blob: "" [INTERNAL] [BUGFIX] [XMLHttpRequest.js] - Line 262 Pull Request resolved: facebook#19567 Differential Revision: D8314416 Pulled By: hramos fbshipit-source-id: a17c49f3620f0abbb936f3a1c2b01aa1b64820fd
- Loading branch information