[Twisted-web] Bug found 1.3.0 twisted.web.static module
Tommi Virtanen
tv at twistedmatrix.com
Thu Feb 10 14:57:10 MST 2005
Mike Marchionna wrote:
> 1) The Content-Length header value is off by 1. For example a
> request with a Range: bytes=0-1999 would yield Content-Length of 1999
> when it should actually be Content-Length: 2000.
>
> 2) The Content-Range response header was generated incorrectly. For
> example the request with a Range: bytes=0-1999 header for a file of
> 100000 bytes in size would yield a Content-Range header like
> Content-Range: bytes 0-1999/1999, when it should be Content-Range:
> bytes 0-1999/100000.
>
> 3) The ASISProcessor incorrectly instantiated the File instance by
> passing a registry parameter to the defaultType argument.
1) and 2)
------------------------------------------------------------------------
r12615 | foom | 2004-11-30 01:23:40 +0200 (Tue, 30 Nov 2004) | 2 lines
remove range support because it's horribly broken.
------------------------------------------------------------------------
3)
------------------------------------------------------------------------
r12816 | mesozoic | 2005-01-03 01:33:41 +0200 (Mon, 03 Jan 2005) | 2 lines
Make sure ASISProcessor actually works.
------------------------------------------------------------------------
More information about the Twisted-web
mailing list