Details
-
New Feature
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
reported at: https://github.com/phonegap/phonegap-iphone/issues/178
by: https://github.com/berb
(This feature request is platform-agnostic and has been posted here due to the comments in #phonegap)
While the current FileTransfer provides upload capabilities similar to browsers (using HTTP POST and multipart), it would be helpful to support PUT as well.
HTTP allows to create server-side resource using the PUT method, and many RESTful webservices make use of this. Being the only way to upload binary file content from a device to a web server, FileTransfer should additionally support PUT as method. Usage might be indicated via FileUploadOptions.