Gaucheのhttp-getでHTTPS接続するためにはstunnelをインストールしないといけないようなのでインストールした。
Currently Gauche relies on an external program `stunnel' (either
version 3 or 4) to handle secure connections. So when you request a
secure connection, Gauche looks for `stunnel' program in `PATH'. On
some systems a newer version of it is called `stunnel4', and Gauche
looks for it, too. If you want to add certificates, for example, you
have to adjust `stunnel' settings.A plan is to provide the means of secure connections as long as
`stunnel', including native SSL support, and the higher-level library
automatically choose whatever is available and best.Use the following procedure to check if you can use secure
connections:-- Function: http-secure-connection-available?
Returns `#t' if running Gauche can use secure connection, `#f'
otherwise.
brewでインストールする場合
% brew install stunnel
Finkでインストールする場合
% fink install stunnel
gosh> (use rfc.http)
#
gosh> (http-secure-connection-available?)
#t
(http-secure-connection-available?)で聞いて#tを返せばhttps接続が可能になります。