Christian Heimes added the comment:

Your proposed fixed is not correct:

        length = self.msg.getheader("content-length")
        if length and not self.chunked:
            try:
                self.length = int(length)
            except ValueError:
                pass
        # patch
        if self.length < 0:
            self.length = None

----------
nosy: +tiran

__________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1627>
__________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to