[issue6791] httplib read status memory usage

Antoine Pitrou report at bugs.python.org
Wed Dec 15 18:02:39 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

> That's true. Near the bottom of the code, it says:
> 
>  # The status-line parsing code calls readline(), which normally
>  # get the HTTP status line.  For a 0.9 response, however, this is
>  # actually the first line of the body!
> 
> Limiting the length of the status line would break 0.9 responses so maybe this issue should be closed?

Well, the HTTP 1.0 RFC was filed in 1996 and HTTP 1.1 is most commonly
used today. I don't think we need to support 0.9 anymore. I'll open a
separate issue for ripping off 0.9 support, though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6791>
_______________________________________


More information about the Python-bugs-list mailing list