|
From: | Per Bothner |
Subject: | Re: [Qexo-general] re: XqlServlet and Communication between XQL scripts |
Date: | Wed, 22 Jan 2003 23:10:22 -0800 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021202 |
Ivelin Ivanov wrote:
I am not sure yet, how response headers and cookie manipulation can beimplemented in a clean way. Maybe, we can also allow the user to stream out a "response" element as part of the result sequence, which in effect controls the output HTTP headers and cookies. If the result sequence starts with a predefined type of element (e.g. http-response), QEXO can treat it as something special and which is will not be part of the output document.
Qexo already does something like this. The response-header function creates a "response header object" - which is basically just a top-level attribute. See the HttpPrinter class. Setting cookies can be done similarly. -- --Per Bothner address@hidden http://www.bothner.com/per/
[Prev in Thread] | Current Thread | [Next in Thread] |