summaryrefslogtreecommitdiffstats
path: root/Lib/http
diff options
context:
space:
mode:
authorSenthil Kumaran <orsenthil@gmail.com>2011-03-20 02:45:41 (GMT)
committerSenthil Kumaran <orsenthil@gmail.com>2011-03-20 02:45:41 (GMT)
commitdab6780c9e3d90e405cb7296a15b2b5a30f29896 (patch)
tree6ab38f42763badfefa27459b8976bb0d14fb78da /Lib/http
parentfef67eefd3f91ae562c4fdd4a0051da28f7919dc (diff)
parentbec7886e3fef5ac751727c05248edc0a394781b9 (diff)
downloadcpython-dab6780c9e3d90e405cb7296a15b2b5a30f29896.zip
cpython-dab6780c9e3d90e405cb7296a15b2b5a30f29896.tar.gz
cpython-dab6780c9e3d90e405cb7296a15b2b5a30f29896.tar.bz2
merge from 3.2
Diffstat (limited to 'Lib/http')
-rw-r--r--Lib/http/server.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/http/server.py b/Lib/http/server.py
index fb9cb5f..6aacbbd 100644
--- a/Lib/http/server.py
+++ b/Lib/http/server.py
@@ -103,11 +103,10 @@ import copy
# Default error message template
DEFAULT_ERROR_MESSAGE = """\
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
<head>
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Error response</title>
</head>
<body>