Skip to content

Instantly share code, notes, and snippets.

@kamarcum
Created June 25, 2014 18:43
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 kamarcum/e77bed60da425b4370d2 to your computer and use it in GitHub Desktop.
Save kamarcum/e77bed60da425b4370d2 to your computer and use it in GitHub Desktop.
Inspect requests on a server with rack
gem install rack ; echo "run Proc.new { |env| puts env.inspect; ['200', {'Content-Type' => 'text/html'}, [env.inspect]] }" >> hax.ru ; rackup hax.ru
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment