Red Hat Bugzilla – Bug 129546
continued downloads with timestamping
Last modified: 2007-11-30 17:10:47 EST
Description of problem:
When using continued download with timestamping enabled (e.g. -cN
options to wget), wget will use "Range" header with HEAD method, while
it really should not.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. wget http://www.redhat.com/
2. Run some sniffer (e.g. Ethereal)
3. wget -cN http://www.redhat.com/
HEAD with "Range" header set.
HEAD without "Range", then GET with "Range" if needed.
Not all HTTP servers out there support HEAD with "Range" resulting in
failed continued download if you do it manually later. wget would
complain that it's refusing to truncate existing file, while if it was
automatically retried download, it would succeed.