Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: LWP is there any way to get "real" outgoing headers?

by InfiniteSilence (Curate)
on May 24, 2014 at 03:56 UTC ( [id://1087290]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      DB<3> p $req->as_string()
    GET http://search.cpan.org/dist/libwww%E2%88%92perl/
    Accept: text/html
    
  2. or download this
     p $req->dump
    GET http://search.cpan.org/dist/libwww%E2%88%92perl/
    Accept: text/html
    
    (no content)
    
  3. or download this
    LWP::Protocol::http::request(/usr/lib/perl5/site_perl/5.10.0/LWP/Proto
    +col/http.pm:226):
    226:        if (!$has_content || $write_wait || $has_content > 8*1024)
    + {
    ...
    Accept: text/html
    Host: search.cpan.org
    User-Agent: lwpcooktest.pl/0.1 libwww-perl/6.03
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found