[issue19009] Enhance HTTPResponse.readline() performance

Kristján Valur Jónsson report at bugs.python.org
Fri Sep 20 23:08:45 CEST 2013


Kristján Valur Jónsson added the comment:

Ok, I can make it resilient.  I was just pointing out that resilience in the face of RFC violations can be a bad thing.  E.g. Internet explorer and how they allowed internet servers of the world to be lax in how they served their data.
No matter, I can allow truncated tails when reading chunks.  But I don't think we ought to make that a requirement or make special unit tests for that.  Either you read chunked encoding correctly or you don't.  There are so many different ways you can break protocol, that this particular one is really only a special case.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19009>
_______________________________________


More information about the Python-bugs-list mailing list