From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <494076bdd2afece4f8d8e6de6700148c@steponnopets.net> Date: Sun, 22 Feb 2009 17:41:48 -0500 From: mattmobile@proweb.co.uk To: 9fans@9fans.net MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: [9fans] httplib.rc Topicbox-Message-UUID: a5f17aa2-ead4-11e9-9d60-3106f5b1d025 Hi, while I was on holiday I made some changes to /n/sources/contrib/maht/rc/httplib.rc I added the ability to request a specific byte range via http-ranges : -r offset count and add the capability to include a referer header : -e referer I also made reponses that were chunked de-chunked (only for non ssl requests otherwise they still need piping through /n/sources/contrib/maht/dechunk.c) The script /n/sources/contrib/maht/rc/get_file.rc resumes the download of a named file (you can't pipe out from it) provided the server provides it! it also requires /n/sources/contrib/maht/rc/maths.rc which adds arithmetic functions to rc see /n/sources/contrib/maht/rc/gauss.rc for an example of the convoluted way of using that! matt EOT