Don't use raw requests when uploading data - this is not needed and not
supported.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b035d8ab
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b035d8ab
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b035d8ab

Branch: refs/heads/trunk
Commit: b035d8ab849cc1845fcaa527f91240d8c84a961c
Parents: aa1e41e
Author: Tomaz Muraus <[email protected]>
Authored: Mon Jan 11 07:30:54 2016 +0100
Committer: Tomaz Muraus <[email protected]>
Committed: Mon Jan 11 07:30:54 2016 +0100

----------------------------------------------------------------------
 libcloud/storage/drivers/backblaze_b2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b035d8ab/libcloud/storage/drivers/backblaze_b2.py
----------------------------------------------------------------------
diff --git a/libcloud/storage/drivers/backblaze_b2.py 
b/libcloud/storage/drivers/backblaze_b2.py
index 63eb28b..08cc63e 100644
--- a/libcloud/storage/drivers/backblaze_b2.py
+++ b/libcloud/storage/drivers/backblaze_b2.py
@@ -160,7 +160,7 @@ class BackblazeB2Connection(ConnectionUserAndKey):
         self.host = upload_host
 
         method = 'POST'
-        raw = True
+        raw = False
         response = self._request(auth_conn=auth_conn, action=action,
                                  params=None, data=data,
                                  headers=headers, method=method,

Reply via email to