Josh Zana
|
368e507b38
|
Implement XmlHttpRequestBase#getAllResponseHeaders and getResponseHeader
Summary:
Used https://github.com/facebook/react-native/pull/382 as inspiration
but modified to return null instead of undefined as per the spec at
https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest
This unblocks use of Dropbox.js within a react-native app, as well
as any other libraries that make use of these methods in XHR usage.
Closes https://github.com/facebook/react-native/issues/872
Closes https://github.com/facebook/react-native/pull/892
Github Author: Josh Zana <joshzana@gmail.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
|
2015-04-21 16:45:32 -08:00 |
|