I have posted a slight modification of the urlparse
procedure in the http
implementation on the wiki. I am attaching my complete code below, but the implementation differs by four lines. only.
Basically what this does is that it asks the regular Tcl http
library what protocols that are registered within the library and accept all URLs starting with those protocols. This supposes that you have performed ::http::register https 443 [list ::tls::socket -tls1 1]
before calling ::vfs::http::Mount
. But then, everything is transparent.