Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0.0, 2.1.0
Description
On Windows Phone 7, I am unable to set custom headers (such as cookies or CSRF protection tokens) for a FileTransfer.upload.
This documentation says there's a "headers" attribute in FileUploadOptions:
http://docs.phonegap.com/en/2.1.0/cordova_file_file.md.html#FileUploadOptions
But this source does not implement it:
https://github.com/apache/incubator-cordova-wp7/blob/22477eac7fd6b0ccf1599c9270980ab9d872534c/templates/standalone/cordovalib/Commands/FileTransfer.cs