Skip to content

Instantly share code, notes, and snippets.

@awesome
Created March 27, 2009 06:02
Show Gist options
  • Save awesome/86562 to your computer and use it in GitHub Desktop.
Save awesome/86562 to your computer and use it in GitHub Desktop.
<!-- the following is the output that thing produces, as requested by Eric Meyer here: http://www.tbray.org/ongoing/When/200x/2009/03/25/On-Rack#c1238071590.220874 -->
<html><head><title>Awesome</title></head><body><h2>Awesome</h2><ul><li><p>SERVER_NAME => localhost</p></li><li><p>rack.input => #<StringIO:0x11f32f8></p></li><li><p>rack.run_once => false</p></li><li><p>rack.url_scheme => http</p></li><li><p>HTTP_USER_AGENT => Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1</p></li><li><p>HTTP_ACCEPT_ENCODING => gzip, deflate</p></li><li><p>PATH_INFO => /foo</p></li><li><p>rack.errors => #<IO:0x2f7c4></p></li><li><p>HTTP_CACHE_CONTROL => max-age=0</p></li><li><p>HTTP_ACCEPT_LANGUAGE => en-us</p></li><li><p>HTTP_HOST => localhost:4321</p></li><li><p>SERVER_PROTOCOL => HTTP/1.1</p></li><li><p>SCRIPT_NAME => </p></li><li><p>REQUEST_PATH => /foo</p></li><li><p>SERVER_SOFTWARE => Mongrel 1.1.5</p></li><li><p>REMOTE_ADDR => 127.0.0.1</p></li><li><p>rack.version => 01</p></li><li><p>rack.multithread => true</p></li><li><p>HTTP_VERSION => HTTP/1.1</p></li><li><p>HTTP_COOKIE => __utma=111872281.1141454409546431100.1233860251.1233860251.1235520138.2; __utmz=111872281.1233860251.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); re_ret=2</p></li><li><p>rack.multiprocess => false</p></li><li><p>REQUEST_URI => /foo?bar=baz</p></li><li><p>SERVER_PORT => 4321</p></li><li><p>QUERY_STRING => bar=baz</p></li><li><p>GATEWAY_INTERFACE => CGI/1.2</p></li><li><p>HTTP_ACCEPT => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5</p></li><li><p>REQUEST_METHOD => GET</p></li><li><p>HTTP_CONNECTION => keep-alive</p></li></ul></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment