<br><br><div class="gmail_quote">On Wed, May 20, 2009 at 5:58 PM, Lukas Renggli <span dir="ltr">&lt;<a href="mailto:renggli@gmail.com">renggli@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In Seaside 2.9 the response object is created at the beginning of the<br>
request processing by the server adaptor. This has various advantages,<br>
among others it avoids unnecessary copying of the response body,<br>
allows streaming and prevents the need of unnecessary redirects when<br>
adding cookies.<br>
<br>
The response object (similar to the request, session, application,<br>
etc.) can be accessed through the the current request context. The<br>
following example would respond with a text file:<br>
<br>
  self requestContext response<br>
    contentType: WAMimeType textPlain;<br>
    nextPutAll: &#39;Hello World&#39;;<br>
    respond<br>
<br>
Thanks for the explanation and the snippet.  It is working now.<br></blockquote><div> <br></div><div>   Muthu<br>    <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<font color="#888888"><br>
</font></blockquote></div><br>