Noèl Köthe wrote:
Hello,
a forwarded report from http://bugs.debian.org/366434
could this behaviour be added to the doc/manpage?
i wonder if it makes sense to add generic support for multiple headers
in wget, for instance by extending the --header option like this:
wget --header="Pragma: xxx" --header=dontoverride,"Pragma: xxx2" someurl
as an alternative, we could choose to support multiple headers only for
a few header types, like Pragma. however, i don't really like this
second choise, as it would require to hardcode the above mentioned
header names in the wget sources, which IMVHO is a *VERY* bad practice.
what do you think?
--
Aequam memento rebus in arduis servare mentem...
Mauro Tortonesi http://www.tortonesi.com
University of Ferrara - Dept. of Eng. http://www.ing.unife.it
GNU Wget - HTTP/FTP file retrieval tool http://www.gnu.org/software/wget
Deep Space 6 - IPv6 for Linux http://www.deepspace6.net
Ferrara Linux User Group http://www.ferrara.linux.it