On Fri, Dec 10, 2021 at 05:54:16PM +0100, Tomasz Konojacki wrote: > On Fri, 10 Dec 2021 17:45:29 +0100 > Tomasz Konojacki <me@xenu.pl> wrote: > > > On Fri, 10 Dec 2021 10:37:19 +0000 > > Nicholas Clark <nick@ccl4.org> wrote: > > > > > 2) Are curl and wget likely to be found on Win32? Is there any command line > > > tool that a HTTP::TIMTOWTDI module can shell out to, to deal with https? > > > > Windows ships with curl.exe since Windows 10 1803. > > PS. BSDs are a bigger problem that Windows. While CPAN.pm can fall back > to curl/wget, neither of them are available there OOTB, at least on > FreeBSD and DragonFly BSD. They provide "fetch" command instead. OpenBSD has ftp(1)[1] that grew https GET support as well as shipping (obviously?) with LibreSSL and its nc(1) with -c (TLS)[2] support. As I said in another post, I have a hack that uses that for https in HTTP::Tiny as a "socket" interface so supports any method. I think if there is a module that provides a front-end with support for using different backends you will find folks willing to provide patches to make it work with them. (AFAIK FreeBSD's fetch(1) only supports GET as well, which is likely fine but the solution should have a way for backends to say which http methods they support) [1] https://man.openbsd.org/ftp.1 [2] https://man.openbsd.org/nc.1#c [3] https://gist.github.com/afresh1/c4ac35cdd29e6b2cd15eef38246c4c71 l8rZ, -- andrew Mountain Dew and doughnuts... because breakfast is the most important meal of the day.Thread Previous | Thread Next