Skip to content

Instantly share code, notes, and snippets.

@jordansissel
Created February 25, 2012 19:07
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 jordansissel/1910128 to your computer and use it in GitHub Desktop.
Save jordansissel/1910128 to your computer and use it in GitHub Desktop.
% RUBYLIB=lib ruby -rftw/request -e 'req = FTW::Request.new("http://www.google.com/"); req.method = "GET"; req.headers["whoa"] = "testing"; puts req'
GET / HTTP/1.1
host: www.google.com
whoa: testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment