react-native/Libraries
anthony 7e9c3f77cc Fix HEAD request failing with `Invalid response for blob` (#19567)
Summary:
Fixes #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: https://github.com/facebook/react-native/pull/19567

Differential Revision: D8314416

Pulled By: hramos

fbshipit-source-id: a17c49f3620f0abbb936f3a1c2b01aa1b64820fd
2018-09-26 13:50:17 -07:00
..
ART
ActionSheetIOS
Alert
Animated Optimize gitignores 2018-09-15 09:01:59 -07:00
AppState
BatchedBridge Change new Date() to Date.now() to save on date allocations 2018-09-21 11:11:33 -07:00
Blob Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
BugReporting Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
CameraRoll Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Color
Components Prettify remaining unprettified files (#21327) 2018-09-25 19:50:08 -07:00
Core Add js engine information in React Native error reporting 2018-09-12 14:01:50 -07:00
EventEmitter Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Experimental Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Geolocation
Image Prettify remaining unprettified files (#21327) 2018-09-25 19:50:08 -07:00
Inspector Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Interaction Remove some automocks from tests 2018-09-18 04:18:11 -07:00
JSInspector
LayoutAnimation
Linking
LinkingIOS Update RCTLinkingManager.h to explicitly state the 'nullability' of parameters (#20798) 2018-09-21 06:18:39 -07:00
Lists
Modal Remove PropTypes from Modal.js (#21279) 2018-09-24 15:20:58 -07:00
NativeAnimation Support the `Slow Animations` option of the iOS simulator (#21157) 2018-09-20 16:18:03 -07:00
Network Fix HEAD request failing with `Invalid response for blob` (#19567) 2018-09-26 13:50:17 -07:00
Performance Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
PermissionsAndroid
PushNotificationIOS
RCTTest SnapshotViewIOS: Remove PropTypes (#21294) 2018-09-24 11:02:21 -07:00
ReactNative Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Renderer Create Renderer README (#21251) 2018-09-21 13:19:35 -07:00
Sample
Settings Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Share
Storage Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
StyleSheet RN: Ignore StyleSheetValidation if Profiling 2018-09-19 16:27:23 -07:00
SurfaceBackedComponent
SurfaceHostingComponent Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text Fix InputAccessoryView safe area when not attached to a TextInput (#21179) 2018-09-18 18:31:51 -07:00
Types
Utilities Fix dev-only redbox in polyfillfunctions 2018-09-12 16:32:50 -07:00
Vibration
WebSocket Remove some automocks from tests 2018-09-18 04:18:11 -07:00
Wrapper
YellowBox YellowBox: Allow Retrying Symbolication 2018-09-11 20:47:03 -07:00
fishhook
polyfills
react-native
vendor Fix map polyfill to use a deterministic key for the hash 2018-09-17 15:02:24 -07:00
.npmignore
Promise.js
UTFSequence.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
promiseRejectionIsError.js