[issue13295] html5 template for Lib/http/server.py

2011-10-31 Thread Martin v . Löwis
Martin v. Löwis added the comment: I declare the original issue closed - there is no reason to switch to HTML 5 in this code. There are side issues, such as the HTML 3.2 perhaps being incorrect; people who want to commit patches in that respect can just go ahead. --

[issue13295] html5 template for Lib/http/server.py

2011-10-31 Thread Éric Araujo
Éric Araujo added the comment: I’d rather fix the page (look at the diff to find one violation: the first heading is an h2 instead of h1) and use an HTML5 doctype, as it’s just HTML 4.01 + pragmatism. -- ___ Python tracker

[issue13295] html5 template for Lib/http/server.py

2011-10-31 Thread Ezio Melotti
Changes by Ezio Melotti : -- assignee: -> ezio.melotti stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue13295] html5 template for Lib/http/server.py

2011-10-31 Thread karl
karl added the comment: Yup. I doesn't bring anything except putting the output in line with the reality of browsers implementations. You may close it. I don't mind. -- ___ Python tracker

[issue13295] html5 template for Lib/http/server.py

2011-10-31 Thread Ezio Melotti
Ezio Melotti added the comment: My point is that the HTML5 doctype doesn't bring us anything (except maybe a shorter string), so I don't see the point of changing it. When the HTML5 spec is stable we can switch to it, but even then the update won't change anything. -- ___

[issue13295] html5 template for Lib/http/server.py

2011-10-31 Thread karl
karl added the comment: Ezio, Martin, HTML 3.2, HTML 4.01 are not outdated. They have stable specifications. That said their doctypes have not influence at all in browsers. The html5 doctype has been chosen because it was the minimal string of characters that put the browsers into strict m

[issue13295] html5 template for Lib/http/server.py

2011-10-30 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ezio: your patch is fine for 3.3. I agree it's not a bug fix. I propose the following additional changes, though: - the name of the root element should be lower-case in the DOCTYPE declaration. - DEFAULT_ERROR_MESSAGE should get an opening html tag. karl: HTML

[issue13295] html5 template for Lib/http/server.py

2011-10-30 Thread Ezio Melotti
Ezio Melotti added the comment: Here's a patch to replace 3.2 with 4.01. The output of the page should be checked and validated before committing this. I'm not sure if this should go in 2.7/3.2 too, on one hand it's not a bug fix so it shouldn't, on the other hand I don't think it will break an

[issue13295] html5 template for Lib/http/server.py

2011-10-30 Thread Ezio Melotti
Ezio Melotti added the comment: I think HTML 4.01 strict is still fine -- no need to move to HTML 5 yet. The template that uses HTML 3.2 can probably be updated though. -- nosy: +eric.araujo, ezio.melotti versions: +Python 3.3 -Python 3.1, Python 3.2 ___

[issue13295] html5 template for Lib/http/server.py

2011-10-30 Thread karl
New submission from karl : The code has a set of old HTML templates. Here is a patch to change it to very simple html5 templates. -- components: Library (Lib) files: server-html5.patch keywords: patch messages: 146641 nosy: karlcow, orsenthil priority: normal severity: normal status: op