W3C home > Mailing lists > Public > www-lib@w3.org > October to December 1998

New range request sample program checked in to libwww CVS code base

From: Henrik Frystyk Nielsen <frystyk@w3.org>
Date: Sun, 29 Nov 1998 23:11:03 -0500
To: www-lib@w3.org
Message-ID: <36621AD7.14559832@w3.org>

The program can issue range GET requests like this

        ./range <uri> <range-unit> 1*(range-set)
where
        range-unit = bytes | token
	range-set = (first-byte-pos - [last-byte-pos]) | - suffix-length

for example

	./range http://www.w3.org bytes "0-499" "1000-1499" "-10"

It writes the output to stdout. It can be found at

	http://www.w3.org/Library/Examples/range.c	

linked from

	http://www.w3.org/Library/Examples/

It is checked into CVS as usual and you can get it by following the
instructions at

   http://www.w3.org/Library/cvs.html#update

How to recompile:

   http://www.w3.org/Library/cvs.html#Easy

Henrik
Received on Sunday, 29 November 1998 23:11:10 EST

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 17:59:23 EDT