summaryrefslogtreecommitdiff
path: root/controller.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2011-02-15 00:42:39 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2011-02-15 00:42:39 +0100
commit0efc1162f77bcea770f72dbe8db1caafa8090e66 (patch)
treef3cf16b2eaa4e0a188e067c21073ffaa4098bfe3 /controller.py
parent15c15ed44c7904169889538143bb1f0b3533c1bc (diff)
downloadweb-0efc1162f77bcea770f72dbe8db1caafa8090e66.tar.gz
web-0efc1162f77bcea770f72dbe8db1caafa8090e66.tar.bz2
web-0efc1162f77bcea770f72dbe8db1caafa8090e66.zip
W3C fixes
Diffstat (limited to 'controller.py')
-rw-r--r--controller.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/controller.py b/controller.py
index 85a9f13..894cd42 100644
--- a/controller.py
+++ b/controller.py
@@ -9,6 +9,7 @@ class Page:
All the general and simple pages.
"""
def GET(self, name = '/'):
+ web.header("Content-Type", "application/xhtml+xml;;charset=utf-8", unique = True)
if not name or name == '/': name = 'index'
return render(name)