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

ASF subversion and git services commented on LIBCLOUD-362:
----------------------------------------------------------

Commit c32bb6cf4c7955f0f828c44354112db7014ac5fa in branch refs/heads/trunk from 
[~kami]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=c32bb6c ]

Modify GoGridConnection to call parent request method with an empty string for
'data' argument.

Contributed by Bob Thompson, 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

Reply via email to