# File lib/cloudfiles/storage_object.rb, line 178
    def set_manifest(manifest)
      headers = {'X-Object-Manifest' => manifest}
      begin
        SwiftClient.post_object(self.container.connection.storageurl, self.container.connection.authtoken, self.container.escaped_name, escaped_name, headers)
        true
      rescue ClientException => e
        raise CloudFiles::Exception::NoSuchObject, "Object #{@name} does not exist" if (response.code == "404")
        raise CloudFiles::Exception::InvalidResponse, "Invalid response code #{response.code}" unless (response.code =~ /^20/)
        false
      end
    end