Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877766d commit 1b407feCopy full SHA for 1b407fe
1 file changed
Lib/http/server.py
@@ -103,11 +103,10 @@
103
104
# Default error message template
105
DEFAULT_ERROR_MESSAGE = """\
106
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
107
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
108
-<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">
109
<head>
110
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
111
<title>Error response</title>
112
</head>
113
<body>
0 commit comments