[Zope] Questions about response.write()
treblid@tpg.com.au
treblid@tpg.com.au
Wed, 29 Jan 2003 13:45:01 +1100
Hello all,
I have created a dynamic PDF file which I would like to send to the client without creating any
Zope objects. I have the contents of the PDF file in a variable, and I use the follow snippet of
code to send the pdf file to the client
---
RESPONSE.setHeader("Content-Type", "application/pdf")
RESPONSE.write(pdf)
---
The problem is that it works under I.E., Netscape 6 but not Netscape 7. Under Netscape 7,
nothing is received.
My Zope is configured behind Apache SSL. I think this might be the problem, but ain't sure.
Anybody knows what gives?
Thanks in advance
Regards,
Tj