in reply to Differnce in Http::request with post Method and Net::SSLeay with post_https.

I guess what Anonymous Monk is saying is that you really don't need to use Net::SSLeay directly.

An HTTP::Request object doesn't send itself, you send it with some other method from LWP::UserAgent or similar.

Whether your URL is HTTP or HTTPS (SSL) is irrelevant; you're still using HTTP::Request. The LWP modules pick up on the 'https' in the URL and automagically wrap the connection up in an SSL "tunnel" ;)

Of course, LWP can only do this if Crypt::SSLeay is correctly installed.

As a side note, you can (as you probably are already aware) set any headers you wish in an HTTP::Request object.

-David

  • Comment on Re: Differnce in Http::request with post Method and Net::SSLeay with post_https.