On 03.08.09 09:04, Martijn Pieters wrote:
On Tue, Jul 21, 2009 at 18:40, Tres Seaver <tseaver@palladion.com> wrote:
File "/home/tseaver/projects/Zope-trunk/src/OFS/tests/testRanges.py", line 332, in testMultipleRangesBigFileOutOfOrder (70000, 80001)]) File "/home/tseaver/projects/Zope-trunk/src/OFS/tests/testRanges.py", line 209, in expectMultipleRanges str(len(body)), rsp.getHeader('content-length'))) File "/opt/Python-2.6.2/lib/python2.6/unittest.py", line 321, in failIf if expr: raise self.failureException, msg AssertionError: Incorrect Content-Length is set! Expected 20425, got 20426.
I don't grok the range support code at all: probably Martijn Pieters is the only person in the world who does. The tests are quite obscure to me, so I can't diagnose even whether the failure is a testing artifact or a real bug.
Here's my response to Tres; for some reason my mail reader didn't include zope-dev. I can add now that I'll be at a sprint this weekend where I'll probably have time to take a look myself:
Oki. Tnx, Andreas