I am trying to extract a file via HTTPS in Io language :
url := URL with("https://api.example.com")
url fetch println
And I get this:
Error_0x7f97e1509a80:
location = "/opt/local/lib/io/addons/Socket/io/URL.io:232"
message = "Protocol 'https' unsupported"
I tried to find something on the net, but as you know, this is not easy because of the name. I found this thread http://tech.groups.yahoo.com/group/iolanguage/message/10898 , but it's pretty old.
How can I get HTTPS support in Io?
EDIT
I found that there is a SecureSocket addon, a shell on top of OpenSSL, in the Io source. However, it was not installed when I did sudo port io installon my MacBook with Mountain Lion. I tried to build it from a source, but no luck. It also was not created for me on a Linux machine.
EDIT2
Io (git clone https://github.com/stevedekorte/io.git) ( script build.sh), , cmake OpenSSL:
-- Found OpenSSL: /usr/lib/libssl.dylib;/usr/lib/libcrypto.dylib
SecureSocket . readme: https://github.com/stevedekorte/io/tree/master/addons/SecureSocket :
DTLS1 , OpenSSL 0.9.8e. d1_both.c, . .. .. , ( ) build.io. , DTLS OpenSSL 0.9.8 . , , , . . .