in reply to Differnce in Http::request with post Method and Net::SSLeay with post_https.
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
|
|---|