incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Samyak Bhuta (JIRA)" <>
Subject [jira] [Commented] (CB-51) API: FileTransfer - Support PUT Method
Date Sun, 17 Jun 2012 19:49:42 GMT


Samyak Bhuta commented on CB-51:

It is of important priority. A practical use case is using backbone.js in Cordova application.
You require 'sync' method of backbone model or collection to be changed, when you have file(s)
(mostly images) that are part of your model. In backbone.js PUT is used to do the 'update'
operation of the famed CRUD. As of now changing the server side API to accept POST for update
operation is the only work around.
> API: FileTransfer - Support PUT Method
> --------------------------------------
>                 Key: CB-51
>                 URL:
>             Project: Apache Cordova
>          Issue Type: New Feature
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Priority: Minor
> reported at:
> by:
> (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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message