I know that I cannot get HTTPS POST to work through a proxy, but I think
that it has worked for me without the proxy.
If one of the LWP developers could comment on exactly what needs to be done
to the code to make HTTPS POST requests work (with and without proxying), I
would be happy to implement the needed changes.
Or is this something that has been solved in LWPng and is therefore being
ignored in plain old LWP?
- tavin
To: [EMAIL PROTECTED] @ INTERNET
cc:
Subject: https, POST, and LWP
i've been reading through the archives of this list, and i can't seem to
find a consensus on this topic:
is it possible to get LWP to make an HTTPS connection using a POST method?
obviously, you have to install either Crypt::SSLeay or Net::SSLeay to make
the HTTPS connection. however, Crypt::SSLeay doesn't seem to support the
POST method, if i'm reading things correctly. and Net::SSLeay doesn't work
with LWP, so you have to have to jump through hoops to get this to work.
from what i can tell, the answer to the question above is "no", with the
following workarounds:
1] Avoid the LWP for all HTTPS requests using POST, and write a bunch of
extra code to call the low level routines in Net::SSLeay to do it. without
LWP, you start losing things (like cookies) this way.
2] hack the LWP to work with Net::SSLeay.
3] use an Apache proxy server, and route all your HTTPS requests through
it. (do you lose cookies this way, too?)
does this sound like an accurate state of affairs to everyone?
is there a better way? (please tell me there is.)
thanks!
- grue
http://www.perp.com/~grue