# File lib/cloudfiles/storage_object.rb, line 165 def set_manifest(manifest) headers = {'X-Object-Manifest' => manifest} response = self.container.connection.storage_request("PUT", @storagepath, headers) 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/) true end