[Twisted-Python] response with special characters, utf-8
    Itamar Shtull-Trauring 
    twisted at itamarst.org
       
    Sun Mar 30 13:32:24 MST 2003
    
    
  
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')
I assume.
-- 
Itamar Shtull-Trauring    http://itamarst.org/
http://www.zoteca.com -- Python & Twisted consulting
    
    
More information about the Twisted-Python
mailing list