in reply to LWP- post to HTTP then redirects to HTTPS (501 error)

LWP::UserAgent on it's own can not interact with secure servers. You need to use Crypt::SSLeay which is available from CPAN.

Crypt::SSLeay provides support for the https protocol under LWP, so that a LWP::UserAgent can make https GET & HEAD & POST requests.

From what I remember, you will also need to have either OpenSSL or SSLeay installed locally before you try and isntall Crypt::SSLeay.

- wil
  • Comment on (wil) Re: LWP- post to HTTP then redirects to HTTPS (501 error)

Replies are listed 'Best First'.
WORKING! thanks!
by inblosam (Monk) on May 24, 2002 at 23:37 UTC
    wil: you are great! that did it! isn't LWP amazing?

    Michael Jensen
    michael at inshift.com
    http://www.inshift.com