<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#330033" bgcolor="#ffffff">
On 12/15/2010 10:39 AM, Antoine Pitrou wrote:
<blockquote cite="mid:20101215193940.31262534@pitrou.net"
type="cite">
<pre wrap="">
Hello,
I would like to remove HTTP 0.9 support from http.client and
http.server. I've opened an issue at <a class="moz-txt-link-freetext" href="http://bugs.python.org/issue10711">http://bugs.python.org/issue10711</a>
for that. Would anyone think it's a bad idea?
(HTTP 1.0 was devised in 1996)
</pre>
</blockquote>
<br>
Please address the following comment from the server.py source:<br>
<br>
# The default request version. This only affects responses up
until<br>
# the point where the request line is parsed, so it mainly
decides what<br>
# the client gets back when sending a malformed request line.<br>
# Most web servers default to HTTP 0.9, i.e. don't send a status
line.<br>
default_request_version = "HTTP/0.9"<br>
<br>
I realize this is a somewhat obscure point, and in general, if your
interest in http.client and http.server implies that some of the
many outstanding bug reports for that code will get resolved, I have
no concern for dropping support for HTTP 0.9 protocol, other than
the above.<br>
<br>
Glenn<br>
</body>
</html>