Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Copy contents passed in Firefox live http header

by keszler (Priest)
on Sep 24, 2013 at 10:09 UTC ( #1055463=note: print w/ replies, xml ) Need Help??


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

  • LWP::Simple has head($url) returning ($content_type, $document_length, $modified_time, $expires, $server)
  • WWW::Mechanize has $mech->dump_headers( [$fh] ) which will print all the response headers to the given filehandle or STDOUT.


Comment on Re: Copy contents passed in Firefox live http header
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1055463]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2014-07-26 12:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (176 votes), past polls