react-native-windows
react-native-windows copied to clipboard
Bug: Unable to add authorization header to network requests from javascript.
In NetworkingModule.cpp the headers are appended to the headers object. https://github.com/microsoft/react-native-windows/blob/master/vnext/ReactUWP/Modules/NetworkingModule.cpp#L266
This throws when trying to add an authorization header.
The most straight-forward fix is to use TryAppendWithoutValidation instead of Append.