Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Copy contents passed in Firefox live http header

by keszler (Priest)
on Sep 24, 2013 at 10:09 UTC ( [id://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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-19 22:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found