This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Adding DOCTYPE and "html", "body" tags to SimpleHTTPServer
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: ajaksu2, akuchling
Priority: normal Keywords:

Created on 2008-02-23 17:28 by ajaksu2, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
SimpleHTTP_doctype_tags.diff ajaksu2, 2008-02-23 17:28
Messages (2)
msg62780 - (view) Author: Daniel Diniz (ajaksu2) * (Python triager) Date: 2008-02-23 17:28
This small patch adds a HTML 3.2 doctype, a <html> and a <body> tags.
Should work on py3k.

This patch only accomplishes a "Tentatively Valid HTML 3.2" result.
Adding information on  encoding would make that more conclusive, but
IMHO wrong too.
msg63093 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2008-02-28 14:03
Applied to 2.6 in rev. 61105; it will be merged up to 3.0 at some point.
Thanks for the patch!
History
Date User Action Args
2022-04-11 14:56:31adminsetgithub: 46422
2008-02-28 14:03:33akuchlingsetstatus: open -> closed
resolution: accepted
messages: + msg63093
2008-02-26 19:07:32akuchlingsetassignee: akuchling
nosy: + akuchling
2008-02-23 17:28:04ajaksu2create