lowercase qmsk.net, and use UTF-8 for the HTTP encoding, not utf8
authorTero Marttila <terom@fixme.fi>
Sat, 07 Feb 2009 04:44:00 +0200
changeset 166 6d6ebf2214a2
parent 165 edfe75095688
child 167 f2504700e273
lowercase qmsk.net, and use UTF-8 for the HTTP encoding, not utf8
lib/http.py
--- a/lib/http.py	Sat Feb 07 04:40:37 2009 +0200
+++ b/lib/http.py	Sat Feb 07 04:44:00 2009 +0200
@@ -94,7 +94,7 @@
         HTTP Response with headers and data
     """
 
-    def __init__ (self, data, content_type='text/html', status='200 OK', charset='utf8') :
+    def __init__ (self, data, content_type='text/html', status='200 OK', charset='UTF-8') :
         """
             Create the response. The Content-type header is built from the given values. The given \a data must be
             either a str (which is sent plain), an unicode object (which is encoded with the relevant charset), or