Github user dukex commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/88#discussion_r32469314
--- Diff: www/browser/FileTransfer.js ---
@@ -121,6 +122,9 @@ FileTransfer.prototype.upload = function(filePath,
server, successCallback, erro
var that = this;
var xhr = transfers[this._id] = new XMLHttpRequest();
+ if (withCredentials) {
+ xhr.withCredentials = true;
--- End diff --
You can remove the `if`statement and write only:
``` js
xhr.withCredentials = withCredentials
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]