[Zope-dev] [ZPublisher] specifiying 'charset' for the content-type header

Chris Withers chris at simplistix.co.uk
Thu Jan 19 13:37:35 EST 2006


Andreas Jung wrote:
> 
>> Ah, okay, and how would I indicate in my PythonScript return that I'm
>> returning something different to what is specified in
>> zpublisher_default_encoding?
>>
> By setting the content-type header _with_ a 'charset' set.

A cool :-) Where's the code that checks if this header is present so I 
can take a look?

cheers,

Chris

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk



More information about the Zope-Dev mailing list