christiaan commented on pull request #268: URL: https://github.com/apache/cordova-plugin-file-transfer/pull/268#issuecomment-696599837
Seems that is also not possible. Since pluginInitialize is synchronous the same problem can occur. Since the headers can be set from javascript, including the `User-Agent` header. What about adding a default in javascript instead and removing the User-Agent from all the native code? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
