[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Wget / Wget2 differ in behavior of `--content-disposition` (
Re: wget2 | Wget / Wget2 differ in behavior of `--content-disposition` (#488)
Wed, 13 Nov 2019 10:37:35 +0000
Darshit Shah commented:
As I mentioned on Matrix, I don't think `--content-disposition` should be a
"lighter" version of `--trust-server-names`. Wget's behaviour is outright
`--trust-server-names` allows Wget/2 to use the filename from the redirected
`--content-disposition` allows Wget/2 to use the filename that the server
provides with the content-disposition header.
They should be spearate options and neither affects the other. If
`--content-disposition` is enabled and a header is found, it's value trumps the
name derived from the URL.
Reply to this email directly or view it on GitLab:
You're receiving this email because of your account on gitlab.com.