/usr/share/doc/tclcurl/examples/https.tcl is in tclcurl 7.22.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | package require TclCurl
if {$tcl_platform(platform)=="windows"} {
set certFile [file join $env(windir) curl-ca-bundle.crt]
} else {
set certFile /usr/local/share/curl/curl-ca-bundle.crt
}
::curl::transfer -url https://www.paypal.com/ -cainfo $certFile \
-file paypal.html
puts "https://www.paypal.com/ saved in 'paypal.html'"
|