Created
June 25, 2014 18:43
-
-
Save kamarcum/e77bed60da425b4370d2 to your computer and use it in GitHub Desktop.
Inspect requests on a server with rack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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