LWP and auto-relocation: Turning Off?
Posted on 2000-05-10
I am using Perl 5.6 on Windows 98. I am using LWP to make http requests to websites. I notice it auto relocates to new locations when a website sends back its 320 Reloc response. I want to get back the full response and have LWP "not" auto relocate.
One little extra question: how do I get TIMEOUT to work? I am connecting to a proxy or trying to retrieve a GIF and the server is not accepting the request or is taking too long to fill the request. How do I set the timeout for accepting a request AND for a server to fill the request in its entirety? $UA->TIMEOUT(10) just doesn't seem to work when I connect to no-existant proxies or websites. It just seems to timeout at its default 3 mins or somethine.
How do I do this?