I'm making an HTTP request with Ruby using Net::HTTP, and I can't figure out how to get all the response headers.
The response object actually contains the headers.
See "Net::HTTPResponse" for more infomation.
You can do:
You can also call
each on the response object to iterate through the headers.
If you really want the headers outside of the response object, call