Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8637EC8AD for ; Tue, 12 Jun 2012 00:12:44 +0000 (UTC) Received: (qmail 53207 invoked by uid 500); 12 Jun 2012 00:12:43 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 53171 invoked by uid 500); 12 Jun 2012 00:12:43 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 53041 invoked by uid 99); 12 Jun 2012 00:12:43 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 00:12:43 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 5211F14002F for ; Tue, 12 Jun 2012 00:12:43 +0000 (UTC) Date: Tue, 12 Jun 2012 00:12:43 +0000 (UTC) From: "Filip Maj (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <1542668073.4960.1339459963338.JavaMail.jiratomcat@issues-vm> In-Reply-To: <182325525.52097.1326877779585.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (CB-181) Add data:/ URL handling to FileUpload MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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 -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