-download function now attempts to resume a failed download. If /RETRIES= is omitted in the install script, download() functions exactly as before.
-arguments to the download function are now order independent. (!!)
-translations can now include most error, resume, and connecting strings.
-now accepts response 206 Partial Content.
-updated to reflect above changes.
While the "Range:" header is from HTTP/1.1 the servers I have tested this on response correctly with "206 Partial Contents" and don't chunk the data. It works, the only thing remaining unimplemented for full HTTP/1.1 compatibility is chunked transfer encodings. Thats the next phase.
I would like to test this on some other less common servers. IIS and Apache seem to respond to a HTTP/1.0 request with a "Range:" header correctly.