Reputation: 1
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).
Basically the same as fiddler or what the NET tab in firebug does.
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.
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.
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.
Upvotes: 0
Views: 153
Reputation: 11908
If you do a single GET request, there will only be only a single GET request.
What you are talking about is when you type the URL in your browser and your browser is configured to download a large number of files references in the HTML (css, javascript, images), which can then be shown in something as Firebug.
I'm afraid you'll have to take another look at just what you are looking for...
Upvotes: 1