develooper Front page | perl.perl5.porters | Postings from November 2021

Pre-RFC: support https out-of-the-box

Thread Next
Neil Bowers
November 23, 2021 17:55
Pre-RFC: support https out-of-the-box
Message ID:
When you install Perl, although it comes with HTTP::Tiny, it doesn't support https because HTTP::Tiny requires IO::Socket::SSL (which isn’t bundled with Perl). This means that and other tools can't make https mandatory, as when bootstrapping a new box you'll typically install perl then run cpan to first install Net::SSLeay and IO::Socket::SSL.

I think we should make Perl support https "out of the box", so that could make https mandatory, and other modules could then support https while relying only on core modules.

One approach is to bundle Net::SSLeay and IO::Socket::SSL, but I don't know if that's the best / right solution?

One problem with bundling these modules is that we are then committed to ensuring that they work on all supported platforms / configurations. Is it ok to support https out-of-the-box on some supported platforms but not all of them? I think so.


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About