Antoine Pitrou added the comment: > Note for the different interpretation of the final chunk: > Chunked encoding allows for adding headers after the final chunk. > This is what _read_and_discard_trailer() does, but discarding the > trailing headers. So, if support is ever added for reading those > trailing headers, then we need make sure that we consume the last > chunk correctly.
I think what Serhiy is proposing is that we also succeed when the server sends a truncated last chunk (and I agree with him). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19009> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com