W3C home > Mailing lists > Public > www-lib@w3.org > July to September 1999

range headers in response

From: joe bester <bester@mcs.anl.gov>
Date: Mon, 20 Sep 1999 14:26:22 -0500
Message-Id: <199909201926.OAA13441@pitcairn-9.mcs.anl.gov>
To: www-lib@w3.org
I am trying to use range requests in the HTTP protocol using 
libwww. It looks like the range headers which are returned are
in the reverse order of the way the data is actually packed in
the chunk. For example running the "range" example yields this

% range http://www.mcs.anl.gov/~bester/test.txt bytes 0-3,7-9
Ranges received: 7-9/11 bytes, 0-3/11 bytes0123789

The output test.txt file reads

Should these headers be reversed?

Joseph Bester                               Phone: (630) 252-1496
Mathematics & Computer Science                Fax: (630) 252-5986
Argonne National Laboratory             Email: bester@mcs.anl.gov
Argonne, IL 60439
Received on Monday, 20 September 1999 15:26:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:52 UTC