[
https://issues.apache.org/jira/browse/LIBCLOUD-362?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13733481#comment-13733481
]
ASF subversion and git services commented on LIBCLOUD-362:
----------------------------------------------------------
Commit 19884f31adb727f6c4d4aac58381014acac00647 in branch refs/heads/trunk from
[~kami]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=19884f3 ]
Fix a regression introduced in 0.13.0 and make sure to include
Content-Length 0 with PUT and POST requests. Also add test cases for it.
Part of LIBCLOUD-362.
> GoGrid bug: Length Required
> ---------------------------
>
> Key: LIBCLOUD-362
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-362
> Project: Libcloud
> Issue Type: Bug
> Reporter: Bob Thompson
> Attachments: LIBCLOUD-362.patch
>
>
> GoGrid connection requests fail since GoGrid doesn't allow "zero-byte files"
> (HTTP 411). Right now, {data} defaults to None and therefore is not encoded
> to Content-Length.
> The data passed to the connection request should check for None instead of
> empty string and None. This way defaulting GoGrid to pass an empty string (as
> it was before) will fix the issue.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira