[Python-bugs-list] [ python-Bugs-819510 ] httplib.SSLFile lacks readlines() method

SourceForge.net noreply at sourceforge.net
Thu Oct 9 23:50:11 EDT 2003


Bugs item #819510, was opened at 2003-10-07 14:32
Message generated for change (Comment added) made by gaul
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=819510&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Campbell (mattcamp)
Assigned to: Nobody/Anonymous (nobody)
Summary: httplib.SSLFile lacks readlines() method

Initial Comment:
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.

----------------------------------------------------------------------

Comment By: Andrew Gaul (gaul)
Date: 2003-10-09 22:50

Message:
Logged In: YES 
user_id=139865

This is a duplicate of bug #792101.  Patch #817854 may
provide a fix but needs to be reviewed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=819510&group_id=5470



More information about the Python-bugs-list mailing list