[Twisted-Python] response with special characters, utf-8
mario at ruggier.org
Sun Mar 30 16:51:20 EST 2003
On dimanche, mars 30, 2003, at 22:32 Europe/Amsterdam, Itamar
> 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...
> I assume.
> Itamar Shtull-Trauring http://itamarst.org/
> http://www.zoteca.com -- Python & Twisted consulting
More information about the Twisted-Python