W3C home > Mailing lists > Public > ietf-http-wg@w3.org > October to December 2006

Re: Large content size value

From: Jamie Lokier <jamie@shareable.org>
Date: Sat, 30 Dec 2006 00:40:55 +0000
To: "Travis Snoozy (Volt)" <a-travis@microsoft.com>
Cc: David Morris <dwm@xpasc.com>, "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Message-ID: <20061230004055.GC30098@mail.shareable.org>

Travis Snoozy (Volt) wrote:
> For reference, the size of the file is 4,368,281,840 bytes, 4GiB is
> 4,294,967,295 bytes, and the difference is 73,314,545 bytes (the value
> of Content-Length + 1). The actual GET returns a 501/Not Supported,
> but the erroneous HEAD reply is still Bad and Wrong.

Just a small note: 4GiB is 4,294,967,29_6_, and the difference is
equal to the reported Content-Length.  Overflow is as expected for a
32-bit integer.

I wonder if it ever reports negative values like Content-Length: -1?

-- Jamie
Received on Saturday, 30 December 2006 00:41:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 18 November 2019 18:00:33 UTC