Skip to content

Instantly share code, notes, and snippets.

@tompesman
Created March 10, 2013 16:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tompesman/1217d4f02aa33efcd873 to your computer and use it in GitHub Desktop.
Save tompesman/1217d4f02aa33efcd873 to your computer and use it in GitHub Desktop.
{
"REMOTE_ADDR"=>"10.127.133.34/ip-10-127-133-34.eu-west-1.compute.internal",
"REQUEST_METHOD"=>"POST",
"REQUEST_PATH"=>"/api/v1/games/2404105/move.json",
"PATH_INFO"=>"/api/v1/games/2404105/move.json",
"REQUEST_URI"=>"/api/v1/games/2404105/move.json",
"SERVER_PROTOCOL"=>"HTTP/1.1",
"HTTP_VERSION"=>"HTTP/1.1",
"HTTP_X_FORWARDED_PROTO"=>"http",
"HTTP_X_FORWARDED_PORT"=>"80",
"HTTP_X_FORWARDED_FOR"=>"XXXXX",
"HTTP_OS"=>"android",
"HTTP_HOST"=>"api.nummi-app.com",
"CONTENT_TYPE"=>"application/x-www-form-urlencoded",
"CONTENT_LENGTH"=>"1351",
"HTTP_AUTH_TOKEN"=>"xxxxxxxxxxxxxxxxxxxx",
"HTTP_ACCEPT_ENCODING"=>"gzip",
"HTTP_CONNECTION"=>"close",
"HTTP_X_HEROKU_QUEUE_WAIT_TIME"=>"0",
"HTTP_X_HEROKU_QUEUE_DEPTH"=>"0",
"HTTP_X_HEROKU_DYNOS_IN_USE"=>"1",
"HTTP_X_REQUEST_START"=>"1362905244411",
"rack.url_scheme"=>"http",
"SERVER_NAME"=>"hostname",
"SERVER_PORT"=>"80",
"QUERY_STRING"=>"",
"rack.input"=>#<Unicorn::TeeInput:0x00000004dedba0 @len=1351, @chunked=false, @socket=#<Kgio::Socket:fd 9>, @parser=#<Unicorn::HttpParser:0x000000016463c8>, @buf="", @rbuf="", @bytes_read=0, @tmp=#<StringIO:0x00000004dedb00>>,
"rack.errors"=>#<IO:<STDERR>>,
"rack.multiprocess"=>true,
"rack.multithread"=>false,
"rack.run_once"=>false,
"rack.version"=>[1, 1],
"SCRIPT_NAME"=>"",
"SERVER_SOFTWARE"=>"Unicorn 4.6.2",
"rack.logger"=>#<Logger:0x0000000106c768 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0x0000000106c740 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x0000000106c6c8 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDERR>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x0000000106c678 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x0000000106c628>>>>,
"ORIGINAL_FULLPATH"=>"/api/v1/games/2404105/move.json",
"action_dispatch.routes"=>#<ActionDispatch::Routing::RouteSet:0x000000026b7298>,
"action_dispatch.parameter_filter"=>[:password],
"action_dispatch.secret_token"=>"",
"action_dispatch.show_exceptions"=>true,
"action_dispatch.show_detailed_exceptions"=>false,
"action_dispatch.logger"=>#<ActiveSupport::TaggedLogging:0x0000000452e2a8 @logger=#<Logger:0x000000041613a0 @progname=nil, @level=1, @default_formatter=#<Logger::Formatter:0x00000004161350 @datetime_format=nil>, @formatter=#<Logger::SimpleFormatter:0x00000004161260 @datetime_format=nil>, @logdev=#<Logger::LogDevice:0x00000004161300 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x000000041612d8 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x00000004161288>>>>>,
"action_dispatch.backtrace_cleaner"=>#<Rails::BacktraceCleaner:0x00000004ef6d08 @filters=[#<Proc:0x00000004ef8810@/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/backtrace_cleaner.rb:10>, #<Proc:0x00000004ef8838@/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/backtrace_cleaner.rb:11>, #<Proc:0x00000004ef8978@/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/backtrace_cleaner.rb:12>, #<Proc:0x00000004edfc70@/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/backtrace_cleaner.rb:26>], @silencers=[#<Proc:0x00000004ee04b8@/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/backtrace_cleaner.rb:15>]>,
"rack.request.form_input"=>#<Unicorn::TeeInput:0x00000004dedba0 @len=1351, @chunked=false, @socket=#<Kgio::Socket:fd 9>, @parser=#<Unicorn::HttpParser:0x000000016463c8>, @buf="", @rbuf="", @bytes_read=0, @tmp=#<StringIO:0x00000004dedb00>>,
"rack.request.form_hash"=>nil
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment