Created
August 12, 2010 00:54
-
-
Save someara/520105 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
request => {:path=>"/v1.0/512133/servers.json", :host=>"servers.api.rackspacecloud.com", :body=>"{\"server\":{\"name\":\"1-centos-rscloud.afistfulofservers.net\",\"imageId\":51,\"flavorId\":1}}", :method=>"POST", :expects=>202, :headers=>{"X-Auth-Token"=>"526f6b17-6e92-4024-b008-067f91166817", "Content-Type"=>"application/json", "Content-Length"=>86, "Host"=>"servers.api.rackspacecloud.com"}} | |
response => #<Excon::Response:0x101e5fbd0 @body="\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html>\n <head>\n <title>503 Service Unavailable</title>\n </head>\n <body>\n <h1>Error 503 Service Unavailable</h1>\n <p>Service Unavailable</p>\n <h3>Guru Meditation:</h3>\n <p>XID: 272869562</p>\n <address>\n <a href=\"http://www.varnish-cache.org/\">Varnish</a>\n </address>\n </body>\n</html>\n", @status=503, @headers={"Retry-After"=>"0", "X-Varnish"=>"272869562", "Via"=>"1.1 varnish", "Date"=>"Thu, 12 Aug 2010 00:50:17 GMT", "Content-Type"=>"text/html; charset=utf-8", "Content-Length"=>"465", "Server"=>"Varnish", "Age"=>"60", "Connection"=>"close"}> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment