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

SourceForge.net noreply at sourceforge.net
Fri Oct 31 14:27:10 EST 2003


Bugs item #819510, was opened at 2003-10-07 15:32
Message generated for change (Settings changed) made by akuchling
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: Closed
>Resolution: Duplicate
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: A.M. Kuchling (akuchling)
Date: 2003-10-31 14:27

Message:
Logged In: YES 
user_id=11375

Patch #817854 has been committed, so this bug can be closed.


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

Comment By: Andrew Gaul (gaul)
Date: 2003-10-09 23: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