New submission from Miroslav Stampar:
httplib module's auxiliary class LineAndFileWrapper contains a readline()
method having no arguments (than self). It's being used in code where commented
with "assume it's a Simple-Response from an 0.9 server" as a wrapper for
Miroslav Stampar added the comment:
Mentioned "divine intervention" could be:
1) Argument strict should be set to 0/False when instantiating HTTPResponse
2) No status should be returned from the backend server (hence the "# assume
it's a Simple-Response from an 0.9 ser
Miroslav Stampar added the comment:
This trivial "patch" solved the issue (reported back by user):
def _(self, *args):
return self._readline()
httplib.LineAndFileWrapper._readline = httplib.LineAndFileWrapper.readline
httplib.LineAndFileWrappe