# HG changeset patch # User Tero Marttila # Date 1233974640 -7200 # Node ID 8f143b1ce0d167f5ab99414a6699d8811a416e0c # Parent a84322e9df8d9b2503e173b526ea7ee3e9eca315 lowercase qmsk.net, and use UTF-8 for the HTTP encoding, not utf8 diff -r a84322e9df8d -r 8f143b1ce0d1 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 diff -r a84322e9df8d -r 8f143b1ce0d1 pages/list --- 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 diff -r a84322e9df8d -r 8f143b1ce0d1 pages/projects/qmsk.net.html --- 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 @@ -

Qmsk.net

+

qmsk.net

This is the code that runs this website itself.

It's a relatively simple WSGI-based CGI script that renders various kinds of pages from the filesystem, along with a nice menu.