def _save(self, name, content):
content_type = get_content_type(name, content.file)<EOL>headers = get_headers(name, content_type)<EOL>if self.use_pyrax:<EOL><INDENT>if headers.get("<STR_LIT>") == "<STR_LIT>":<EOL><INDENT>content = get_gzipped_contents(content)<EOL><DEDENT>self.connection.store_object(container=self.container_name,<EOL>obj_name=name,<EOL>data=content.read(),<EOL>content_type=content_type,<EOL>content_encoding=headers.get("<STR_LIT>", None),<EOL>ttl=self.file_ttl,<EOL>etag=None)<EOL>self.connection.set_object_metadata(container=self.container_name,<EOL>obj=name,<EOL>metadata=headers,<EOL>prefix='<STR_LIT>',<EOL>clear=True)<EOL><DEDENT>else:<EOL><INDENT>self.connection.put_object(self.container_name, name,<EOL>content, headers=headers)<EOL><DEDENT>return name<EOL>
Uses the Cumulus service to write ``content`` to a remote
file (called ``name``).