http://www.perlmonks.org?node_id=1055463


in reply to Copy contents passed in Firefox live http header

Are you interested in what Firefox sends, or in what you receive back from the HTTP server?

If the latter there are many Perl modules that will capture those, for example