W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

Incorrect content length

From: Anselm Baird-Smith <abaird@w3.org>
Date: Fri, 9 Aug 1996 17:04:32 +0500
Message-Id: <9608092104.AA02100@www18.w3.org>
To: jeff@macalot.com (Jeff Dripps)
Cc: www-jigsaw@w3.org

Jeff Dripps writes:
 > On my system the original (incorrect) content length comes back as 27065
 > while after filtering the correct content length returned is 26922. Also,
 > by adding the line setting the content length, the file is now transfered
 > without problem. Hope this helps. sinc, -jeff

I think I know what might be the problem. Can you try the following
thing, and tell me how it goes:

a) Create a file, with say 100 bytes.
b) Get this file (everything should run fine)
c) Edit this file, and make its length 150 bytes

Try getting it , does it work ? Basically Jigsaw relies on
file.getLastModified() to check wether the content length of a file
has changed or not, and I am wondering if this is safe on all

BTW while speaking to a Mac guy, is the Mac file system case sensitive
( I don't think so). In this case does File.list() gets you back the
right thing (eg Asdmin instead of aDmin or friends) ? [I am about to
fix this problem, it will work for Win*, not sure it will work for

Received on Friday, 9 August 1996 17:04:46 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:29 UTC