In Seaside 2.9 the response object is created at the beginning of the
request processing by the server adaptor. This has various advantages,
among others it avoids unnecessary copying of the response body,
allows streaming and prevents the need of unnecessary redirects when
adding cookies.
The response object (similar to the request, session, application,
etc.) can be accessed through the the current request context. The
following example would respond with a text file:
self requestContext response
contentType: WAMimeType textPlain;
nextPutAll: 'Hello World';
respond
Cheers,
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside