Re: LWP 5.41 does not seem to handle https:
Ed (ed@chronos.net)
Fri, 5 Mar 1999 20:51:27 +0000 (WET)
On Fri, 5 Mar 1999, BAZLEY Sebastian wrote:
> I have been unable to use LWP ver 5.41 with https:// URLs on VMS and Win95.
> Does https: work OK on other platforms ?
[snip]
You may not have https working due to SSL & ITAR problems. The way
that you would have implemented httpslow would have been something
like this:
package LWP::Protocol::httpslow;
@ISA = qw(LWP::Protocol::http); # inherit from it, just one small override
# take a look at `perldoc -m LWP::Protocol::http` for source
sub request {
my $self = shift;
warn "$self->request called with @_\n"; # so you can watch it happen!
sleep 3;
$self->SUPER::request(@_); # pass on request
}
1;
In fact, the IO::Handle hack may be closer to what you want. Anyway, enjoy.
--
Ed | | mailto:ed@chronos.net
Chronos.Net | http://www.chronos.net/ | mailto:info@chronos.net