Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: LWP::UserAgent lengthy download

by Corion (Pope)
on Feb 17, 2010 at 10:22 UTC ( #823665=note: print w/replies, xml ) Need Help??

in reply to Re^2: LWP::UserAgent lengthy download
in thread LWP::UserAgent lengthy download

If you don't make an explicit request for an image (URL), LWP::UserAgent won't download the image. That's how HTTP works.

Replies are listed 'Best First'.
Re^4: LWP::UserAgent lengthy download
by jonnyfolk (Vicar) on Feb 20, 2010 at 14:21 UTC

    Hi, thanks for your response. I'm trying to understand what is happening. From what you are saying contrary to viewing from a browser, it is unlikely that the delay is being caused by having to wait for images to download as there is no specific request - or is there?

    $resp = $ua->get(";

      Maybe now is a good moment to learn about HTTP, and the request-response mechanism?

        Hi, I thank you for your persistence and patience!!

        I have been through the protocol you sent and and set environment variable $ENV{PERL_LWP_USE_HTTP_10} = 1; This seems to have made a difference - I am no longer getting timeouts.

        I wanted to check if this is a right/wrong move and if there are other thing s I might try to speed up the delivery of results.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2021-10-15 23:50 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (69 votes). Check out past polls.