You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Bob Thompson (JIRA)" <ji...@apache.org> on 2013/07/16 18:10:51 UTC

[dev] [jira] [Created] (LIBCLOUD-362) GoGrid bug: Length Required

Bob Thompson created LIBCLOUD-362:
-------------------------------------

             Summary: GoGrid bug: Length Required
                 Key: LIBCLOUD-362
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-362
             Project: Libcloud
          Issue Type: Bug
            Reporter: Bob Thompson


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