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 25 8f143b1ce0d1
parent 24 a84322e9df8d
child 26 9d3beac1b196
lowercase qmsk.net, and use UTF-8 for the HTTP encoding, not utf8
lib/http.py
pages/list
pages/projects/qmsk.net.html
--- 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
--- a/pages/list	Sat Feb 07 04:40:37 2009 +0200
+++ b/pages/list	Sat Feb 07 04:44:00 2009 +0200
@@ -2,7 +2,7 @@
             : Index
 foo             : Foo
 projects        : Projects
-    qmsk.net        : Qmsk.net
+    qmsk.net        : qmsk.net
     nr-ttd          : Nr-TTD
     kg              : Kišna Glista
 about           : About
--- a/pages/projects/qmsk.net.html	Sat Feb 07 04:40:37 2009 +0200
+++ b/pages/projects/qmsk.net.html	Sat Feb 07 04:44:00 2009 +0200
@@ -1,4 +1,4 @@
-<h1>Qmsk.net</h1>
+<h1>qmsk.net</h1>
     <p>This is the code that runs this website itself.</p>
 
     <p>It's a relatively simple WSGI-based CGI script that renders various kinds of pages from the filesystem, along with a nice menu.</p>