Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-362

GoGrid bug: Length Required

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.13.1
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

        1. LIBCLOUD-362.patch
          1 kB
          Bob Thompson

          Activity

            People

            • Assignee:
              kami Tomaz Muraus
              Reporter:
              bobt Bob Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: