Skip to content

Latest commit

 

History

History
36 lines (19 loc) · 651 Bytes

README.rdoc

File metadata and controls

36 lines (19 loc) · 651 Bytes

Require

sudo gem install sinatra

sudo gem install haml

git clone git://github.com/holin/webcurl.git

cd webcurl

ruby webcurl.rb

Request header looks like

Host localhost:4567

User-Agent Mozilla/7.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/5.5.4

Accept text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8

Accept-Language en-us,en;q=0.5

Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7

Keep-Alive 300

Connection keep-alive

Cookie __auc=b580a89621c1dfad75599b5d3ba21870

Cache-Control max-age=0

Screenshot

Test