Re: [Pharo-project] Towards better HTTP client usage

2011-09-06 Thread Philippe Marschall
On 09/05/2011 10:04 PM, Sven Van Caekenberghe wrote: On 05 Sep 2011, at 21:14, Philippe Marschall wrote: So… is that URL already percent encoded? If it isn't how do I specify what encoding should be used? ;-) Url strings are fed to the ZnUrl parser. Does that mean they are expected to

Re: [Pharo-project] Towards better HTTP client usage

2011-09-06 Thread Sven Van Caekenberghe
On 06 Sep 2011, at 08:51, Philippe Marschall wrote: On 09/05/2011 10:04 PM, Sven Van Caekenberghe wrote: On 05 Sep 2011, at 21:14, Philippe Marschall wrote: So… is that URL already percent encoded? If it isn't how do I specify what encoding should be used? ;-) Url strings are fed to

Re: [Pharo-project] Towards better HTTP client usage

2011-09-05 Thread Stéphane Ducasse
Thanks for this mail. I loved it. And for a novice like me at the network level, it sounds exciting. Stef On Sep 4, 2011, at 8:22 PM, Sven Van Caekenberghe wrote: Towards better HTTP client usage At the last Pharo Sprint in Lille (July 8th), Stéphane and I were at one point trying to

Re: [Pharo-project] Towards better HTTP client usage

2011-09-05 Thread Johannes Rasche
Hi Sven, I'm eagerly looking forward. Is this an announcement about what you're actually doing, or is it open for experiments? Is there already a repository I can load? Johannes Am 04.09.2011 um 20:22 schrieb Sven Van Caekenberghe: Towards better HTTP client usage At the last Pharo

Re: [Pharo-project] Towards better HTTP client usage

2011-09-05 Thread Sven Van Caekenberghe
Johannes, On 05 Sep 2011, at 12:34, Johannes Rasche wrote: Hi Sven, I'm eagerly looking forward. Is this an announcement about what you're actually doing, or is it open for experiments? Both I guess. Is there already a repository I can load? Yes, just load the latest version of Zn (see

Re: [Pharo-project] Towards better HTTP client usage

2011-09-05 Thread Philippe Marschall
On 04.09.2011 20:22, Sven Van Caekenberghe wrote: Towards better HTTP client usage At the last Pharo Sprint in Lille (July 8th), Stéphane and I were at one point trying to remove some old HTTPSocket usage (which indirectly uses Zn) and replace it with direct and clean Zn usage. We hadn't

Re: [Pharo-project] Towards better HTTP client usage

2011-09-05 Thread Sven Van Caekenberghe
On 05 Sep 2011, at 21:14, Philippe Marschall wrote: So… is that URL already percent encoded? If it isn't how do I specify what encoding should be used? ;-) Url strings are fed to the ZnUrl parser. Ultimately percent encoding is resolved by String#unescapePercents which falls back to UTF-8.

[Pharo-project] Towards better HTTP client usage

2011-09-04 Thread Sven Van Caekenberghe
Towards better HTTP client usage At the last Pharo Sprint in Lille (July 8th), Stéphane and I were at one point trying to remove some old HTTPSocket usage (which indirectly uses Zn) and replace it with direct and clean Zn usage. We hadn't much time left and didn't get very far. But I realized