Re: Cookies for LWPng & more
Gisle Aas (gisle@activestate.com)
15 Sep 2000 06:24:25 +0200
"Tan Joo Geok" <tjg@krdl.org.sg> writes:
> It works fine now. Thanks a lot!
Good. Then it might be a good idea for me to simply put that into the
URI module.
> I moved on to try if LWPng can do https as well using a https URL($url =
> "https://www.nodeworks.com") in the code below and got the following error
> message:
>
> 590 No handler for 'https' scheme
>
> I am sure that my system is set up properly to do https because the original
> lwp-request from libwww works fine with a https URL. The problem seems to
> be with LWPng. Can LWPng do https?
No. I never got around to that.
> If not, what must one do to make it do so?
You have to write the LWP::Conn::HTTPS module. You also want to write
this as kind of a subclass of LWP::Conn::HTTP, but this is tricky
since it use all kind of reblessing tricks.
Regards,
Gisle