16 Sep
2003
16 Sep
'03
7:54 a.m.
On Tuesday 16 September 2003 01:54, Small Business Services wrote:
I have been trying to get a test routine working that uses RESPONSE.write... without success:
Here is the dtml code I have been using:
<dtml-call "RESPONSE.setHeader('Transfer-Encoding', 'chunked')"> <dtml-call "RESPONSE.setHeader('Content-Type', 'text/plain')"> <dtml-call "RESPONSE.write('Starting')">
<dtml-call "wait(5)">
<dtml-call "RESPONSE.setHeader('Transfer-Encoding', 'chunked')"> <dtml-call "RESPONSE.setHeader('Content-Type', 'text/plain')"> <dtml-call "RESPONSE.write('\n\nDone')">
You dont need the Transfer-Encoding lines, or the second Content-Type line. ZPublisher takes care of that for you. Im not sure if that is relevant to your problem.... -- Toby Dickenson