1 # Run with: rackup -s thin
2 # then browse to http://localhost:9292
3 # Or with: thin start -R config.ru
4 # then browse to http://localhost:3000
6 # Check Rack::Builder doc for more details on this file format:
7 # http://rack.rubyforge.org/doc/classes/Rack/Builder.html
11 # Response body has to respond to each and yield strings
12 # See Rack specs for more info: http://rack.rubyforge.org/doc/files/SPEC.html
17 { 'Content-Type' => 'text/html' }, # Reponse headers
18 body # Body of the response