Click here to get back home

LWP, https and a proxy

 HomeNewsGroups | Search

comp.lang.perl.modules - Discussion about PERL modules 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
LWP, https and a proxy l.g.h 02-22-2005
Posted by l.g.h on February 22, 2005, 7:43 am
Please log in for more thread options


Hello,

I'm trying to use LWP module to access a secured website via a proxy (
standard proxy which forward to a ms proxy server )

Symptoms:
I can access successfully any non-secure website (http), but when I try
show/hide quoted text
response code from the http server.

An application ( such as Mozilla ) with the same proxy parameters
access successfully to any secured or non secured websites.

With Ethereal, the only difference seems to be that mozilla/ie uses the
CONNECT directive instead of the GET directive of LWP.
And when mozilla/ie receive a 200 "connection etablished", they send
another "CONNECT" request to the proxy, and then get successfully the
requested webpage.

So I used the CONNECT method too. But it doesn't works better.

Here's what I wrote: ( I use activestate perl 5.8.4 )
___________________________________
show/hide quoted text

show/hide quoted text
same issue with GET

show/hide quoted text

show/hide quoted text
}
else {
show/hide quoted text
}
______________________________________

Thanks in advance for any ideas ...
Luc



Posted by Terrence Brannon on February 23, 2005, 8:20 pm
Please log in for more thread options


l.g.h@caramail.com writes:

show/hide quoted text

I suggest the lwp mailing list (see lists.perl.org for subscribe info
or use GMANE) for this question. Be sure to search its archives before
posting!

--
        Carter's Compass: I know I'm on the right track when,
         by deleting something, I'm adding functionality.


Posted by Luc on March 3, 2005, 3:50 am
Please log in for more thread options


show/hide quoted text

Thanks you for this idea. I searched in this list with no success for
the moment. So I posted a new message.

New info about seems to be related to ms proxy server:
I tested two configurations:
show/hide quoted text
retrieved correctly.

The more strange thing is that any browsers ( at least IE and Firefox
) are able to retrieve https pages with all kind of proxies ( ms proxy
or other ).


Similar ThreadsPosted
Proxy method does not work using LWP::UserAgent for HTTPS request September 9, 2008, 6:53 am
mod_perl, LWP and HTTPS January 11, 2005, 7:35 pm
Using HTTPS with LWP::UserAgent = Bad Service March 30, 2005, 6:45 am
HTTPS URLs monitoring October 10, 2008, 2:20 pm
Using HTTP::Proxy September 23, 2004, 5:41 am
HTTP::Proxy and not using 127.0.0.1 May 11, 2006, 6:10 pm
DBI/DBD-Oracle and Proxy June 13, 2007, 11:43 am
LWP::UserAgent + HTTPS + threads ==> segmentation fault November 11, 2004, 9:57 pm
PPM through Proxy (Activeperl / Activestate) July 14, 2005, 1:37 pm
wsp, Firefox proxy and ports August 21, 2007, 9:08 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy