You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/02/10 19:32:21 UTC
[jira] [Resolved] (CB-6000) FileTransfer content-type header not
consumable for some servers
[ https://issues.apache.org/jira/browse/CB-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Grieve resolved CB-6000.
-------------------------------
Resolution: Fixed
Fixed in 0.4.1-dev
> FileTransfer content-type header not consumable for some servers
> ----------------------------------------------------------------
>
> Key: CB-6000
> URL: https://issues.apache.org/jira/browse/CB-6000
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android, Plugin File Transfer, WP7, WP8
> Reporter: Andrew Grieve
> Assignee: Andrew Grieve
> Priority: Minor
>
> Reported via pull request: https://github.com/apache/cordova-plugin-file-transfer/pull/6
> {quote}
> I ran into this bug when testing an app on both iOS and Android and using Nginx as a reverse proxy to my application server. The Content-Type produced by the iOS backend is accepted just fine (with the space), but the Content-Type produced by the Android backend is rejected by Nginx as being a malformed HTTP request (a 400). See more discussion here:
> http://stackoverflow.com/questions/17990705/phonegap-uploading-file-to-server-using-multipart-form-data
> {quote}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)