# File lib/cloudfiles/container.rb, line 283 def object_exists?(objectname) response = self.connection.cfreq("HEAD", @storagehost, "#{@storagepath}/#{CloudFiles.escape objectname}", @storageport, @storagescheme) return (response.code =~ /^20/)? true : false end