[
https://issues.apache.org/jira/browse/CB-6000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13929990#comment-13929990
]
ASF subversion and git services commented on CB-6000:
-----------------------------------------------------
Commit c35ca1a5c22298542f84e372a3f9ff6da914a05b in
cordova-plugin-file-transfer's branch refs/heads/dev from [~naika]
[
https://git-wip-us.apache.org/repos/asf?p=cordova-plugin-file-transfer.git;h=c35ca1a
]
Upleveled from android port with following commits:
3c1ff16 Andrew Grieve - CB-5762 android: Fix lengthComputable set wrong for
gzip downloads
8374b3d Colin Mahoney - CB-5631 Removed SimpleTrackingInputStream.read(byte[]
buffer)
6f91ac3 Bas Bosman - CB-4907 Close stream when we're finished with it
651460f Christoph Neumann - CB-6000 Nginx rejects Content-Type without a space
before "boundary".
35f80e4 Ian Clelland - CB-6050: Use instance method on actual file plugin
object to get FileEntry to return on download
> 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.2#6252)