[ANN] Swazoo web server 2.0 beta released on Squeak

Bruce Badger bwbadger at gmail.com
Thu Jun 7 09:32:49 UTC 2007


On 06/06/07, Lukas Renggli <renggli at gmail.com> wrote:

> One question: How does Swazoo deal with character encoding?

A great deal of work has been done on the Hyper HTTP library in this
regard.  Hyper and the HTTP server code in Swazoo have the same roots,
the HTTP server written by Ken Treis.  Hyper has evolved quite a bit
from those roots, though.

The current versions of Hyper are very clear about when they are
dealing with OCTET and CHAR data (per RFC 2616).  Entity data within
an HTTP message is always presumed to be OCTET data so you can apply
whatever encoding you wish.  For the OpenSkills systems we always use
UTF-8 these days.  Hyper can be used with the Swazoo resource handling
code and this is demonstrated in versions of Swazoo published to the
Cincom public Store repository.

Hyper uses Sport and so works in Squeak :-)

HTH,
    Bruce
-- 
Make the most of your skills - with OpenSkills
http://www.openskills.org/



More information about the Squeak-dev mailing list