Re: [Zope] setting mime type for a python script

2005-08-19 Thread Andreas Jung
--On 19. August 2005 15:49:31 +0200 santiago <[EMAIL PROTECTED]> wrote: hello I'm looking for a way to set the mime type served by zope for a python script. I found something for products (looks like : self.self.setFormat(self.content_type) ) but I just can't get that working in my script,

[Zope] setting mime type for a python script

2005-08-19 Thread santiago
hello I'm looking for a way to set the mime type served by zope for a python script. I found something for products (looks like : self.self.setFormat(self.content_type) ) but I just can't get that working in my script, because self is not available in scripts any idea of how I could get my