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

Andreas Jung lists at andreas-jung.com
Fri Jan 20 01:21:15 EST 2006



--On 19. Januar 2006 18:37:35 +0000 Chris Withers <chris at simplistix.co.uk> 
wrote:

> 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?
>
ZPublisher/HTTPResponse.py  (where else :-))

-aj


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20060120/6d582edf/attachment.bin


More information about the Zope-Dev mailing list