[Zope] MIME type assignment to a method

J C Lawrence claw at kanga.nu
Wed Feb 11 17:52:26 EST 2004

I have a product some of whose methods are (or need to be) directly
exposed as A-refs.  How can I set the correct MIME type for them?  

More specifically the methods are going to be dynamically generating and
returning strings (7bit and 8bit) which I need associated with the
appropriate MIME types (eg text/plain, image/jpeg, etc).

J C Lawrence
---------(*)                Satan, oscillate my metallic sonatas.
claw at kanga.nu               He lived as a devil, eh?
http://www.kanga.nu/~claw/  Evil is a name of a foeman, as I live.

More information about the Zope mailing list