# File lib/cloudfiles/container.rb, line 369 def post_with_headers(headers = {}) if cdn_enabled? response = self.connection.cdn_request("POST", escaped_name, headers) else response = self.connection.storage_request("POST", escaped_name, headers) end raise CloudFiles::Exception::NoSuchContainer, "Container #{@name} does not exist (response code: #{response.code})" unless (response.code =~ /^20/) response end