react-native/Libraries
realaboo b659d7f0d1 Get response url from XMLHttpRequest
Summary:
An HTTP request may be redirected to another URL, sometimes we need to know the URL where the  response comes from.

If the server is in control, we can add an HTTP header X-Request-URL for the redirect URL. However there will be cases that 3rd party services are used.

This PR retrieves the response URL from native networking module and passes to it XMLHttpRequest. The fetch API built on XMLHttpRequest also benefits from this feature.
Closes https://github.com/facebook/react-native/pull/4981

Reviewed By: svcscm

Differential Revision: D2811392

Pulled By: lexs

fb-gh-sync-id: 3ec356fb92f8011b6a243d6879172877a3dc498a
2016-01-07 12:03:48 -08:00
..
ART Mark `-[init]` w RCT_NOT_IMPLEMENTED 2015-11-14 06:29:27 -08:00
ActionSheetIOS Add tintColor for buttons. 2015-12-09 05:19:25 -08:00
AdSupport Text highlighting on iOS 2015-07-24 08:41:58 -08:00
Animated remove a typo 2016-01-06 10:33:29 -08:00
AppRegistry Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
AppStateIOS revert D2372548 to fix initial app state issue 2015-09-25 13:25:26 -07:00
BatchedBridge Implement Android's dispatchViewManagerCommand interface on iOS 2016-01-06 05:58:37 -08:00
CameraRoll Bugfix - Typos 2015-12-15 09:09:32 -08:00
Components ProgressBarAndroid: default value for styleAttr 2016-01-07 12:02:37 -08:00
CustomComponents Fixes error when navigationBar is set back to null 2016-01-07 12:01:37 -08:00
DebugComponentHierarchy Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Device Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Devtools Use pre-bundled elements inspector 2015-10-29 11:21:32 -07:00
Fetch Add fetch's clone function to Request and Response prototypes 2015-10-30 10:57:33 -07:00
Geolocation Fix getCurrentPosition 2015-12-16 08:37:33 -08:00
Image Load assets from same folder as JSbundle (Android) 2016-01-06 08:46:35 -08:00
Inspector Inspecting stateless components. 2015-12-08 10:13:25 -08:00
Interaction Confusing description about task queue 2015-12-24 19:35:29 -08:00
JavaScriptAppEngine Hot Loading E2E basic flow 2015-12-28 16:44:59 -08:00
LayoutAnimation Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
LinkingIOS Add support for Universal Links 2015-12-04 09:05:31 -08:00
Modal Improve Modal docs describing iOS only support 2015-12-05 18:48:28 -08:00
NativeApp Decouple Module System from Native Calls 2015-12-08 16:03:37 -08:00
Network Get response url from XMLHttpRequest 2016-01-07 12:03:48 -08:00
Picker Added support for styling the PickerIOS 2015-12-08 07:48:26 -08:00
Portal Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
PullToRefresh Added ColorPropType 2015-12-23 10:08:38 -08:00
PushNotificationIOS Add soundName config for UILocalNotification 2016-01-07 12:01:26 -08:00
QuickPerformanceLogger added QPL for main interactions 2015-09-29 22:25:23 -07:00
RCTTest Wait for JSExecutor to tear down in RCTBridgeTests 2016-01-05 15:30:33 -08:00
RKBackendNode Wrapped UIManager native module for better abstraction 2015-11-27 07:00:32 -08:00
ReactIOS Fix scroll-to-top in MarketPlace 2015-12-23 12:40:33 -08:00
ReactNative Deploy v0.20.1 2015-12-18 17:04:29 -08:00
Sample Remove invariant of Sample.ios.js that is not used 2015-05-26 18:25:00 -07:00
Settings Replaced RegExp method parser with recursive descent 2015-12-10 10:12:29 -08:00
Storage Batch AsyncStorage.multiGet calls 2015-12-03 09:10:29 -08:00
StyleSheet Added ColorPropType 2015-12-23 10:08:38 -08:00
Text Add <Text> shadow support 2016-01-01 09:33:31 -08:00
Utilities Improve error message when devserver is not running 2016-01-04 09:56:30 -08:00
Vibration Text highlighting on iOS 2015-07-24 08:41:58 -08:00
WebSocket Improve red boxes coming from RCTWebSocketExecutor 2015-12-23 13:32:28 -08:00
react-native Cross platform PullToRefreshView component 2016-01-04 08:00:29 -08:00
vendor Fix minor typo in PanResponder 2016-01-07 12:01:56 -08:00
Promise.js Add support for promise rejection tracking 2016-01-07 12:02:56 -08:00