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 ( #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
Node Status?
node history
Node Type: note [id://1055463]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2017-08-22 09:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Who is your favorite scientist and why?



























    Results (333 votes). Check out past polls.

    Notices?