Closed GoogleCodeExporter closed 8 years ago
Sorry, I should have made it an enhancement.
Original comment by frank.mena
on 4 Dec 2012 at 2:34
I can`t find any commit in that repository and we already do have header
support for file upload (it is named setParams) and accepts a hashmap.
Please verify your repo and send a pull request if this is not resolved
Original comment by kurka.da...@gmail.com
on 4 Dec 2012 at 6:47
I checked in the files in my clone using Tower. I do not understand why then
do not show up, so I attached the files to this comment.
params are not the same thing as headers. Take a look at the PhoneGap Android
FileTransfer source:
https://github.com/apache/incubator-cordova-android/blob/master/framework/src/or
g/apache/cordova/FileTransfer.java
starting on line 292, then look at lines starting on line 269. I believe
params are somehow used for multi-part, but not for HTTP headers.
Either way, when using your plugins, params are not added as HTTP headers. The
changes I made does. I added a new contractor to FileTransferOptions.java to
add the new parameter, and added the headers to FileTransferJsImpl.java. If
attaching the files to this comment does not work for you, please let me know.
Sorry for the confusion.
Frank
Original comment by frank.mena
on 5 Dec 2012 at 12:55
Attachments:
This issue was closed by revision 444d5afcbda4.
Original comment by kurka.da...@gmail.com
on 22 Feb 2013 at 11:46
Original comment by kurka.da...@gmail.com
on 22 Feb 2013 at 11:46
Original comment by kurka.da...@gmail.com
on 30 Mar 2013 at 9:57
Original issue reported on code.google.com by
frank.mena
on 4 Dec 2012 at 2:34