[Twisted-Python] response with special characters, utf-8

Mario Ruggier mario at ruggier.org
Sun Mar 30 14:51:20 MST 2003


On dimanche, mars 30, 2003, at 22:32 Europe/Amsterdam, Itamar 
Shtull-Trauring wrote:
> On Sat, 29 Mar 2003 06:42:30 +0100
> "Matthias Urlichs" <smurf at noris.de> wrote:
>
>>> request.setHeader = ('Content-Type', 'text/html; charset=utf-8')
>>
>> seems to have a '=' sign in it which doesn't make ANY sense at all.
>
> Exactly! This should be:
>
> request.setHeader('Content-Type', 'text/html; charset=utf-8')
>

Ooops! Do not know how many times i;ve looked at that!
Thanks, both of you...

mario


> I assume.
>
> -- 
> Itamar Shtull-Trauring    http://itamarst.org/
> http://www.zoteca.com -- Python & Twisted consulting





More information about the Twisted-Python mailing list