You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Kamil Kaminski (Created) (JIRA)" <ji...@apache.org> on 2012/01/18 10:09:39 UTC
[jira] [Created] (CB-181) Add data:/ URL handling to FileUpload
Add data:/ URL handling to FileUpload
--------------------------------------
Key: CB-181
URL: https://issues.apache.org/jira/browse/CB-181
Project: Apache Callback
Issue Type: New Feature
Reporter: Kamil Kaminski
Priority: Minor
Please consider adding data:/ URLs support as FileUpload source. This allows developers to upload <canvas>-es more efficiently (Base64 is 1/3 bigger than data stream and requires special handling on server side).
This shouldn't be a problem at PhoneGaps part as it's internally detecting file URI's type and returns FileInputStream to upload.
--
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
[jira] [Resolved] (CB-181) Add data:/ URL handling to FileUpload
Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CB-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj resolved CB-181.
--------------------------
Resolution: Won't Fix
You could use XHR with this just as easily. No need for the FileTransfer - it is specifically there for binary and other file formats on-device.
> Add data:/ URL handling to FileUpload
> --------------------------------------
>
> Key: CB-181
> URL: https://issues.apache.org/jira/browse/CB-181
> Project: Apache Cordova
> Issue Type: New Feature
> Reporter: Kamil Kaminski
> Priority: Minor
>
> Please consider adding data:/ URLs support as FileUpload source. This allows developers to upload <canvas>-es more efficiently (Base64 is 1/3 bigger than data stream and requires special handling on server side).
> This shouldn't be a problem at PhoneGaps part as it's internally detecting file URI's type and returns FileInputStream to upload.
--
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