GitHub user agrieve opened a pull request:
https://github.com/apache/incubator-cordova-android/pull/32
Always set Content-Length for FileTransfer uploads.
Some servers reject the request if it is not set.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/agrieve/incubator-cordova-android
upload_content_length
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-cordova-android/pull/32.patch
----
commit 6868871dbf040fda7493767b15542ecce87825fe
Author: Andrew Grieve <[email protected]>
Date: 2012-07-13T13:29:59-07:00
Always set Content-Length for FileTransfer uploads.
Some servers reject the request if it is not set.
----