W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 1996

Re: NIT (squared): v11-spec-04.txt: 14.36 Range

From: John Franks <john@math.nwu.edu>
Date: Tue, 4 Jun 1996 14:55:31 -0500 (CDT)
To: Dave Kristol <dmk@allegra.att.com>
Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com
Message-Id: <Pine.SUN.3.91.960604144629.1111A-100000@hopf.math.nwu.edu>
On Tue, 4 Jun 1996, Dave Kristol wrote:

> The new draft says:
> 
>     If the last-byte-pos value is absent, it is assumed to be equal to the
>     current length of the entity-body in bytes.
> 
>     If the last-byte-pos value is larger than the current length of the
>     entity-body, it is assumed to be equal to the current length of the
>     entity-body. This allows, for example, a client to attempt to limit the
>     number of bytes retrieved without knowing the size of the entity.
> 
> Actually, the correct value is length minus one.  So this should read:
> 
>     If the last-byte-pos value is absent, it is assumed to be equal to one
>     less than the current length of the entity-body in bytes.
> 
>     If the last-byte-pos value is larger than the current length of the
>     entity-body, it is assumed to be equal to one less than the current
>     length of the entity-body. This allows, for example, a client to
>     attempt to limit the number of bytes retrieved without knowing the
>     size of the entity.
> 
> Dave Kristol
> 
> 

How about this?  It might be clearer.

     If the last-byte-pos value is absent, it is assumed to be equal to
     that value which would result in selecting a range from the 
     first-byte-position to the end of the entity-body.  This value is
     one less than the current length of the entity-body in bytes.
 
     If the last-byte-pos value is greater than or equal to the current
     length of the entity-body, it is assumed to be equal to one less than
     the current length of the entity-body. The range selected will then be
     from the first-byte-pos to the end of the entity-body.  This allows,
     for example, a client to attempt to limit the number of bytes
     retrieved without knowing the size of the entity.
 


John Franks 	Dept of Math. Northwestern University
		john@math.nwu.edu
Received on Tuesday, 4 June 1996 12:58:08 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 24 September 2003 06:32:02 EDT