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: httplib error handling and HTTP/0.9 fix
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: euske, georg.brandl
Priority: normal Keywords: patch

Created on 2005-10-04 15:12 by euske, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
diff euske, 2005-10-04 15:12 context diff against httplib.py in Python2.4.1
Messages (2)
msg48822 - (view) Author: Yusuke Shinyama (euske) Date: 2005-10-04 15:12
HTTPResponse.begin did not initialize self.length if
the protocol version is 0.9, which later causes an
AttributeError.
Also, error handling for "chunk_left = int(line, 16)"
in HTTPResponse._read_chunked is missing, which might
cause a ValueError.
The patch fixes the above two problems.
msg48823 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2007-03-13 21:40
The "length" problem is already fixed and the chunked handling is tracked in #1486335.
History
Date User Action Args
2022-04-11 14:56:13adminsetgithub: 42444
2005-10-04 15:12:10euskecreate