[Pharo-project] Url / HTTPSocket with https://
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 <http://twitter.com/#!/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 <sven@beta9.be> wrote:
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).
aaaaaaaarrrrrrgggggg...... Laurent
Sven
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 8:52 AM, Sven Van Caekenberghe <sven@beta9.be> wrote:
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).
aaaaaaaarrrrrrgggggg......
Laurent
Sven
On Wed, Mar 2, 2011 at 10:38 AM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
you can avoid this problem using stunnel. not the best of the world, but at least is something :)
Indeed I'm preparing a TDD / Picasa srceencast so I want easy to understand stuff...... Laurent
best, Esteban
El 02/03/2011, a las 5:20a.m., laurent laffont escribió:
On Wed, Mar 2, 2011 at 8:52 AM, Sven Van Caekenberghe <sven@beta9.be>wrote:
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).
aaaaaaaarrrrrrgggggg......
Laurent
Sven
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 <johan@inceptive.be> 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
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/
participants (4)
-
Esteban Lorenzano -
Johan Brichau -
laurent laffont -
Sven Van Caekenberghe