[Zope] Returning a binary file from an external method.

Jay, Dylan djay@lucent.com
Wed, 30 Jun 1999 10:47:32 +1000


I have an external method that generates a binary file. The content-type I'm
trying to use is "Content-type: application/octet-stream". How do I do this
in zope? If the just call the method and use RESPONSE.setHeader to change to
the content type it doesn't work as the content has been mangled using some
sort of encoding.