Re: Problem with LWP and proxy under Cygwin
Tom Hukins <[email protected]>
| Newsgroups | gmane.comp.lang.perl.modules.lwp |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Feb 24, 2010 at 10:28:03PM -0800, [email protected] wrote: > I'm new to this mailing list, and haven't yet found where y'all keep > the good documentation about dealing with an authenticating proxy > using LWP::UserAgent. In this case it's the LWP cookbook: http://search.cpan.org/~gaas/libwww-perl-5.834/lwpcook.pod#PROXIES The "More Documentation" at the end of LWP's POD mentions it. > I have modeled a subclass approach on Gisle Aas' lwp-request. > You can see the complete script at > http://www.animalhead.com/maint_ip_world_db You shouldn't need to write any new classes to do this. > I get a 500 "internal response", as shown in the following debugger > dumps: > > 'proxy' => HASH(0x1060eb60) > empty hash This part of your dump suggests you haven't set the proxy correctly. LWP::Debug's documentation has a section about Network traffic monitoring that you might find helpful: http://search.cpan.org/~gaas/libwww-perl-5.834/lib/LWP/Debug.pm Tom