[squeak-dev] WebClient-Monticello

Germán Arduino garduino at gmail.com
Tue Jun 22 23:24:00 UTC 2010


Hi:

Thanks by share. I will take a look as soon as I can.

In the maintime want to ask if you have extended/implemented on
WebClient the possibility of make post's with multipart/form-data (See
my mail of yesterday with subject: "Using WebClient").

Cheers.
Germán.


2010/6/22 Sven Van Caekenberghe <sven at beta9.be>:
> Hi,
>
> I wrote a proof-of-concept Monticello server implementation called MCWebServer, using WebServer from Andreas Raab's WebClient package. I think this is a nice example of how to use WebServer for something useful and real. It also documents the MC HTTP client/server protocol with working code. It is available from http://www.squeaksource.com/ADayAtTheBeach as WebClient-Monticello.x.n.mcz.
>
> Load the code using Gofer (the code was written in Pharo but should be portable) (alternatively use Installer or do it manually):
>
> Gofer new squeaksource: 'WebClient'; package: 'WebClient-Core'; load.
> Gofer new squeaksource: 'ADayAtTheBeach'; package: 'WebClient-Monticello'; load.
>
> Setting up your own minimal MC source code repository is now very easy:
>
> (MCWebServer reset default)
>        directory: (FileDirectory  on: '/tmp/monticello/');
>        addUser: 'john' withPassword: 'secret';
>        listenOn: 8800.
>
> Make sure the specified directory exists. Choose a server port that is unused.
>
> Access with the following specification:
>
> MCHttpRepository
>        location: 'http://localhost:8800'
>        user: 'john'
>        password: 'secret'.
>
> Enjoy,
>
> Sven
>
> --
> Sven Van Caekenberghe - http://homepage.mac.com/svc
> Beta Nine - software engineering - http://www.beta9.be
>
>
>
>



More information about the Squeak-dev mailing list