W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > January to April 1997

Re: Content ranges in HTTP/1.1

From: Koen Holtman <koen@win.tue.nl>
Date: Wed, 5 Feb 1997 20:25:51 +0100 (MET)
Message-Id: <199702051925.UAA13808@wsooti08.win.tue.nl>
To: Matt Bookman <matt@pointcast.com>
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
X-Mailing-List: <http-wg@cuckoo.hpl.hp.com> archive/latest/2338
Matt Bookman:
>For the HTTP/1.1 support of content ranges, what should be the correct =
>server response for a byte range that is outside the actual contents of =
>the file?
>For example, suppose I have a file 1000 bytes in length, and the request =
>sent to my server includes a range request of:
>Range: bytes=2000-2500
>What is the correct response?  Is a 204 the correct response?  Is a 206 =
>with a Content-Length of 0 Correct?  If so, then what is the =
>"Content-Range:" that one should return?

204 is incorrect, and I think a 206 would be too.  I would return either a
200 or a 400 (bad request).

>-Matt Bookman

Received on Wednesday, 5 February 1997 11:36:04 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:19 UTC