cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-6000) FileTransfer content-type header not consumable for some servers
Date Mon, 10 Feb 2014 18:32:20 GMT

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

ASF subversion and git services commented on CB-6000:
-----------------------------------------------------

Commit 651460fb6b41035c96bcc31a38621ec8100648f1 in branch refs/heads/dev from Christoph Neumann
[ https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=651460f ]

CB-6000 Nginx rejects Content-Type without a space before "boundary".

From: https://github.com/apache/cordova-plugin-file-transfer/pull/6


> 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)

Mime
View raw message