Commits

John Dickinson committed 469a780 Merge

Merge pull request #51 from castlabs/master

Method for creating manifest is wrong. Changes the POST in sync_manifest() to a PUT.

Comments (0)

Files changed (1)

cloudfiles/storage_object.py

             headers = self._make_headers()
             headers['Content-Length'] = "0"
             response = self.container.conn.make_request(
-                'POST', [self.container.name, self.name], hdrs=headers,
+                'PUT', [self.container.name, self.name], hdrs=headers,
                 data='')
             response.read()
             if response.status < 200 or response.status > 299: