[Pharo-dev] ZnEasy and https?

Stéphane Ducasse stephane.ducasse at inria.fr
Wed Oct 23 08:05:13 EDT 2013


sven

Soon you will be able to produce PharoTopics taking this git file as input :)

ZnClient new 
	 get: 'https://raw.github.com/pharo-project/pharo-project-proposals/master/Topics.st'.

Stef


On Oct 23, 2013, at 10:52 AM, Sven Van Caekenberghe <sven at stfx.eu> wrote:

> Hi Stéphane,
> 
> It is actually even simpler, you can use either:
> 
> ZnEasy get: 'https://github.com/pharo-project/pharo-project-proposals/blob/master/Topics.st'.
> 
> or:
> 
> ZnClient new 
>  get: 'https://github.com/pharo-project/pharo-project-proposals/blob/master/Topics.st'.
> 
> They return slightly different things, in the first case the response object, in the second case the actual contents. Look for users of ZnClient in the system and tests for tons of examples.
> 
> HTH,
> 
> Sven
> 
> On 23 Oct 2013, at 10:46, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
> 
>> hi sven
>> 
>> I would like to fetch a file stored on github
>> 
>> ZnEasy client
>> 		url: 'https://github.com/pharo-project/pharo-project-proposals/blob/master/Topics.st';
>> 		get;
>> 		response
>> 
>> Else I tried to read zodiac code but I missed some examples.
>> I tried to read the tests but I failed.
>> 
>> Stef
>> 
>> 
>> 
> 
> 





More information about the Pharo-dev mailing list