Griffin Smith 5723915eaa Remove all null values for request headers
Summary:
NSMutableURLRequest appears to be running `[headerValue count]` on every value of the NSDictionary that `allHTTPHeaderFields` is set to, meaning that any `null` values passed to headers in an XHR throw an exception.  This differs from the implementation of XHR in browsers, which just ignore any `null` values for headers.

PR doesn't currently include tests, happy to add those if this is something you'd consider merging
Closes https://github.com/facebook/react-native/pull/6903

Differential Revision: D3256727

fb-gh-sync-id: 58e8db9c86a1fe7fbd95cba7dcf916957d179e0c
fbshipit-source-id: 58e8db9c86a1fe7fbd95cba7dcf916957d179e0c
2016-05-03 23:42:26 -07:00
..
2015-07-24 08:41:58 -08:00
2016-04-27 19:16:32 -07:00
2016-04-20 20:45:22 -07:00
2016-04-27 19:16:32 -07:00
2016-05-03 19:20:26 -07:00
2016-04-28 16:00:32 -07:00
2016-04-06 09:21:53 -07:00
2016-04-22 18:02:28 -07:00
2016-04-10 18:02:20 -07:00
2016-04-25 03:31:19 -07:00
2016-04-27 19:16:32 -07:00