[Python-Dev] Remove HTTP 0.9 support
Glenn Linderman
v+python at g.nevcal.com
Wed Dec 15 23:20:54 CET 2010
On 12/15/2010 1:25 PM, Antoine Pitrou wrote:
> On Wed, 15 Dec 2010 12:58:51 -0800
> Glenn Linderman<v+python at g.nevcal.com> wrote:
>> On 12/15/2010 10:39 AM, Antoine Pitrou wrote:
>>> Hello,
>>>
>>> I would like to remove HTTP 0.9 support from http.client and
>>> http.server. I've opened an issue at http://bugs.python.org/issue10711
>>> for that. Would anyone think it's a bad idea?
>>>
>>> (HTTP 1.0 was devised in 1996)
>> Please address the following comment from the server.py source:
>>
>> # The default request version. This only affects responses up until
>> # the point where the request line is parsed, so it mainly decides what
>> # the client gets back when sending a malformed request line.
>> # Most web servers default to HTTP 0.9, i.e. don't send a status line.
>> default_request_version = "HTTP/0.9"
> What do you mean by "address"? The patch changes this to 1.0.
> And, as the comment says, this only affects what happens when the
> client sends a syntactically invalid request line, so whether the server
> does a 0.9-style or 1.0-style response is unimportant.
Just what you did... justify the unimportance of not changing it :)
Since now it is different than "most web servers".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20101215/8a9eb178/attachment.html>
More information about the Python-Dev
mailing list