diff options
author | Senthil Kumaran <orsenthil@gmail.com> | 2011-03-20 02:45:10 (GMT) |
---|---|---|
committer | Senthil Kumaran <orsenthil@gmail.com> | 2011-03-20 02:45:10 (GMT) |
commit | bec7886e3fef5ac751727c05248edc0a394781b9 (patch) | |
tree | e9feddf27c77ff5973d1c1595b94a7ebb0e96937 /Lib/http | |
parent | 799c669283b007f7067fc5b6f4662e35e6d83276 (diff) | |
parent | 1b407fe658fb298986d1ed3f8a71937ac1b3460c (diff) | |
download | cpython-bec7886e3fef5ac751727c05248edc0a394781b9.zip cpython-bec7886e3fef5ac751727c05248edc0a394781b9.tar.gz cpython-bec7886e3fef5ac751727c05248edc0a394781b9.tar.bz2 |
Merge from 3.1
Diffstat (limited to 'Lib/http')
-rw-r--r-- | Lib/http/server.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Lib/http/server.py b/Lib/http/server.py index c0245ec..86fa37f 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> |