Jyrki Pulliainen <jy...@dywypi.org> added the comment: Changed the code so that the content length is set as size if reporthook is not set and wrote two tests for it.
Note: I moved fakehttp behavior to a mixin, so that it's more reusable. ---------- keywords: +patch nosy: +nailor Added file: http://bugs.python.org/file23444/issue10817.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10817> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com