title: View all http requests when accessing a website [In Code]
body: <p>Is it possible to retrieve a list of all the http requests that occur when I send a single GET http request via code (ruby in my case).</p>
  
  <p>Basically the same as fiddler or what the NET tab in firebug does. </p>
  
  <p>e.g. when I send a GET request to www.amazon.com firebug says that there are 94 requests for this page. I want to be able to get a list of these 94 requests so that I can use them in my code.</p>
  
  <p>From my knowledge I believe that this would not be possible without using some other type of software such as tcpdump. But to be honest this is out of my depth.</p>
  
  <p>To be clear, I do not want to just use fiddler or firebug as I need to do further data manipulation on the requests within my ruby code.</p>