On Tue, Feb 16, 2010 at 07:21:27PM -0500, Sylvain Thibault wrote: > I am issuing a CONNECT request to a non standard server. > Somehow the request is successfull when going through a proxy server and > fails when issued directly to the server... > > With the proxy, I get 200 Connection established with a working socket, > without the proxy, I get 500 SLL negociation failed. >
CONNECT is meant to be used only with proxy servers. For LWP::UserAgent to support direct HTTPS connections, you need to install Crypt::SSLeay and directly create a GET request to the https:// URL. -- Philippe Bruhat (BooK) The man who most obeys the king is the man who gets crowned. (Moral from Groo The Wanderer #13 (Epic))