Skip to content

Instantly share code, notes, and snippets.

@melito
Created April 20, 2009 04:20
Show Gist options
  • Save melito/98361 to your computer and use it in GitHub Desktop.
Save melito/98361 to your computer and use it in GitHub Desktop.
#<Sinatra::Request:0x19033cc
@env=
{"SERVER_NAME"=>"0.0.0.0",
"HTTP_ACCEPT"=>"*/*",
"HTTP_HOST"=>"0.0.0.0:4567",
"rack.url_scheme"=>"http",
"CONTENT_LENGTH"=>"16",
"HTTP_USER_AGENT"=>
"curl/7.19.2 (i386-apple-darwin9.6.0) libcurl/7.19.2 OpenSSL/0.9.8i zlib/1.2.3",
"REQUEST_PATH"=>"/lol/123",
"SERVER_PROTOCOL"=>"HTTP/1.1",
"CONTENT_TYPE"=>"application/json",
"rack.errors"=>#<IO:0x3cdc0>,
"REMOTE_ADDR"=>"127.0.0.1",
"PATH_INFO"=>"/lol/123",
"rack.run_once"=>false,
"rack.version"=>[0, 3],
"SERVER_SOFTWARE"=>"thin 1.0.1 codename ?",
"SCRIPT_NAME"=>"",
"HTTP_VERSION"=>"HTTP/1.1",
"rack.multithread"=>false,
"REQUEST_URI"=>"/lol/123",
"rack.multiprocess"=>false,
"rack.request.query_hash"=>{},
"SERVER_PORT"=>"4567",
"REQUEST_METHOD"=>"POST",
"rack.request.query_string"=>"",
"QUERY_STRING"=>"",
"GATEWAY_INTERFACE"=>"CGI/1.2",
"rack.input"=>#<StringIO:0x1908bd8>}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment