commit | 7066590736bb61b5f67ade490aeee327af4bc6e2 | [log] [tgz] |
---|---|---|
author | Facundo Batista <facundobatista@gmail.com> | Thu Oct 18 03:16:03 2007 +0000 |
committer | Facundo Batista <facundobatista@gmail.com> | Thu Oct 18 03:16:03 2007 +0000 |
tree | 4a98d6267b59eae611c7f0f116ea05b6fe368fc6 | |
parent | a1e42e11d51237a949ad2568f8a097d4b442fdec [diff] |
Issue #1580738. When HTTPConnection reads the whole stream with read(), it closes itself. When the stream is read in several calls to read(n), it should behave in the same way if HTTPConnection knows where the end of the stream is (through self.length). Added a test case for this behaviour.