Small experiment:
----------------------------------
# tclsh
% package require tls
1.7.18
% package require rest
1.5
% rest::get https://tcl.tk /
Unsupported URL type "https"
% rest::get http://tcl.tk /
[as expected]
---------------------------------
Why it does not work for https?
Thanks for any hint.
Perhaps because you did not follow the directions in the tls docs for registering https as a valid protocol?
Note from: https://core.tcl-lang.org/tcltls/wiki/Documentation
HTTPS EXAMPLE
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 493 |
Nodes: | 16 (2 / 14) |
Uptime: | 192:36:22 |
Calls: | 9,707 |
Calls today: | 2 |
Files: | 13,740 |
Messages: | 6,180,161 |