title: Display HTTP headers using Open::URI?
body: <p>with Open::URI, I can do the following:</p>
  
  <pre><code>require 'open-uri'
  #check status
  open('http://google.com').status
  #get entire html
  open('http://google.com').read
  </code></pre>
  
  <p>Is it possible to get the HTTP headers of a request so things can be debugged, something like Curls' <code>curl -I http://google.com</code>?</p>
  
  <pre><code>$ curl -I google.com
  HTTP/1.1 301 Moved Permanently
  Location: http://www.google.com/
  Content-Type: text/html; charset=UTF-8
  Date: Mon, 17 Dec 2012 14:28:17 GMT
  Expires: Wed, 16 Jan 2013 14:28:17 GMT
  Cache-Control: public, max-age=2592000
  Server: gws
  Content-Length: 219
  X-XSS-Protection: 1; mode=block
  X-Frame-Options: SAMEORIGIN
  </code></pre>
  
  <p>Is this possible?</p>