Hi,
(Url absoluteFromText: 'https://www.google.com') retrieveContents or HTTPSocket httpGet:'https://www.google.com'.
fail because they don't like https://. How can I get content on https:// ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ |
On 02 Mar 2011, at 08:16, laurent laffont wrote: > Hi, > > (Url absoluteFromText: 'https://www.google.com') retrieveContents > > or > > HTTPSocket httpGet:'https://www.google.com'. > > fail because they don't like https://. How can I get content on https:// ? > > > Laurent Laffont - @lolgzs You can't. This is a problem. There is http://www.squeaksource.com/SqueakSSL.html but it is not so Pharo friendly as well as incomplete (depending on your platform, worst for Mac OS X, less for Linux, best for Windows). Sven |
On Wed, Mar 2, 2011 at 8:52 AM, Sven Van Caekenberghe <[hidden email]> wrote:
aaaaaaaarrrrrrgggggg......
Laurent
|
you can avoid this problem using stunnel.
not the best of the world, but at least is something :) best, Esteban
El 02/03/2011, a las 5:20a.m., laurent laffont escribió:
|
On Wed, Mar 2, 2011 at 10:38 AM, Esteban Lorenzano <[hidden email]> wrote:
Indeed I'm preparing a TDD / Picasa srceencast so I want easy to understand stuff......
Laurent
|
In reply to this post by laurent laffont
I am not certain if it works, but the Cryptography package has an implementation for an https client: http://www.squeaksource.com/Cryptography.html
On 02 Mar 2011, at 08:16, laurent laffont wrote: > Hi, > > (Url absoluteFromText: 'https://www.google.com') retrieveContents > > or > > HTTPSocket httpGet:'https://www.google.com'. > > fail because they don't like https://. How can I get content on https:// ? > > > Laurent Laffont - @lolgzs > > Pharo Smalltalk Screencasts: http://www.pharocasts.com/ > Blog: http://magaloma.blogspot.com/ |
On Wed, Mar 2, 2011 at 11:15 AM, Johan Brichau <[hidden email]> wrote: I am not certain if it works, but the Cryptography package has an implementation for an https client: http://www.squeaksource.com/Cryptography.html Yes I've just found this in the SSL package (HttpsSocket and HttpsUrl) - but actually I haven't been able to make it work :( Laurent
|
Free forum by Nabble | Edit this page |