You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Commented) (JIRA)" <ji...@apache.org> on 2011/11/28 22:11:40 UTC

[jira] [Commented] (CB-51) API: FileTransfer - Support PUT Method

    [ https://issues.apache.org/jira/browse/CB-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158773#comment-13158773 ] 

Shazron Abdullah commented on CB-51:
------------------------------------

by: https://github.com/jpfiset

I agree with berb on this. HTTP PUT should be supported.
                
> API: FileTransfer - Support PUT Method
> --------------------------------------
>
>                 Key: CB-51
>                 URL: https://issues.apache.org/jira/browse/CB-51
>             Project: Apache Callback
>          Issue Type: New Feature
>            Reporter: Shazron Abdullah
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira