# File lib/cloudfiles/container.rb, line 319
    def delete_object(objectname)
      begin
        SwiftClient.delete_object(self.connection.storageurl, self.connection.authtoken, escaped_name, objectname)
        true
      rescue ClientException => e
        raise CloudFiles::Exception::NoSuchObject, "Object #{objectname} does not exist" if (e.status.to_s == "404")
        raise CloudFiles::Exception::InvalidResponse, "Invalid response code #{e.status}" unless (e.status.to_s =~ /^20/)
      end
    end