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.SSLFile lacks readlines() method
Type: Stage:
Components: Library (Lib) Versions: Python 2.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: akuchling, gaul, mattcamp
Priority: normal Keywords:

Created on 2003-10-07 19:32 by mattcamp, last changed 2022-04-10 16:11 by admin. This issue is now closed.

Messages (3)
msg18575 - (view) Author: Matthew Campbell (mattcamp) Date: 2003-10-07 19:32
The httplib.SSLFile class has no readlines() method.  
A readlines() method is necessary if the SSL server 
sends back an HTTP/0.9 response, since in that case, 
the httplib.LineAndFileWrapper class is used.  The_done
() method in httplib.LineAndFileWrapper has this 
statement:

self.readlines = self._file.readlines

Which causes an error when "self._file" refers to 
SSLFile.  This happens even if I only call the read() 
method on LineAndFileWrapper.
msg18576 - (view) Author: Andrew Gaul (gaul) Date: 2003-10-10 03:50
Logged In: YES 
user_id=139865

This is a duplicate of bug #792101.  Patch #817854 may
provide a fix but needs to be reviewed.
msg18577 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2003-10-31 19:27
Logged In: YES 
user_id=11375

Patch #817854 has been committed, so this bug can be closed.
History
Date User Action Args
2022-04-10 16:11:39adminsetgithub: 39382
2003-10-07 19:32:28mattcampcreate