# File lib/openstack/swift/storage_object.rb, line 222 def set_manifest(manifest) headers = {'X-Object-Manifest' => manifest} path = "/#{@containername}/#{@name}" begin response = @container.swift.connection.req("POST", URI.encode(path), {:headers=>headers}) rescue OpenStack::Exception::ItemNotFound => not_found msg = "Can't set manifest: No Object \"#{@name}\" found in Container \"#{@containername}\". #{not_found.message}" raise OpenStack::Exception::ItemNotFound.new(msg, not_found.response_code, not_found.response_body) end true end