react-native/Libraries/Network
Nick Lockwood 0044b3c2c3 Added logic to detect text encoding for downloaded data
Summary: @​public

RCTNetworking currently relies on network responses to include an accurate text encoding, otherwise it is unable to convert the response data to text unless it's encoded as UTF8.

See: https://github.com/facebook/react-native/issues/1780#issuecomment-139334294 for details.

This diff makes use of a new feature in iOS8 to detect the encoding of the text authomatically

Reviewed By: @sahrens

Differential Revision: D2443446
2015-09-16 10:25:06 -07:00
..
RCTNetwork.xcodeproj Rename RCTReachability to RCTNetInfo 2015-08-14 08:20:01 -08:00
FormData.js [ReactNative] Use FbHttp for handling http requests from React Native. 2015-08-18 09:12:40 -07:00
NetInfo.js [Flow] Clean up react-native for Flow v0.15.0 2015-09-04 16:51:18 -08:00
RCTDownloadTask.h Refactored RCTImageDownloader to use RCTNetworking instead of a separate download system 2015-07-27 13:47:52 -08:00
RCTDownloadTask.m Ran Convert > To Modern Objective C Syntax 2015-08-25 01:08:49 -08:00
RCTHTTPRequestHandler.h Refactored networking logic out into RCTDownloadTask 2015-07-23 04:00:31 -08:00
RCTHTTPRequestHandler.m Fixed networker crash due to threading bug 2015-09-08 04:03:04 -08:00
RCTNetInfo.h Rename RCTReachability to RCTNetInfo 2015-08-14 08:20:01 -08:00
RCTNetInfo.m Rename RCTReachability to RCTNetInfo 2015-08-14 08:20:01 -08:00
RCTNetworking.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
RCTNetworking.h Refactored RCTImageDownloader to use RCTNetworking instead of a separate download system 2015-07-27 13:47:52 -08:00
RCTNetworking.m Added logic to detect text encoding for downloaded data 2015-09-16 10:25:06 -07:00
XMLHttpRequest.android.js Release React Native for Android 2015-09-14 18:13:39 +01:00
XMLHttpRequest.ios.js Fix null values in network requests 2015-08-14 05:16:02 -08:00
XMLHttpRequestBase.js Fix incorrect lowercase response headers set for XHR responses 2015-07-07 15:05:45 -08:00