Commits

David Larlet committed 6978cfd

S3: seek content to 0, opening the content before saving, thanks Jay!

Comments (0)

Files changed (1)

         return response.object.data, headers['etag'], headers.get('content-range', None)
         
     def _save(self, name, content):
+        content.open()
         if hasattr(content, 'chunks'):
             content_str = ''.join(chunk for chunk in content.chunks())
         else: