Reputation: 34145
for example, in shell, I could use curl & do
curl -I http://google.com
and it would print out raw http headers. what's the alternative of this in ruby?
Question being, how to print raw http headers
in Ruby?
Upvotes: 2
Views: 471