bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re:


From: Tim Rühsen
Subject: Re: Re:
Date: Mon, 3 May 2021 17:58:34 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0

On 02.05.21 14:08, Tim Rühsen wrote:
On 01.05.21 07:30, Rm Beer wrote:
SO: Archlinux32 (Linux 5.11.10-arch1-1.0 #1 SMP PREEMPT Sat, 27 Mar
2021 20:56:37 +0000 i686 GNU/Linux)
packages:
wget 1.21.1-1.0
gnutls 3.7.1-1.0

No matter what you do, modifying user-agent, cookies, or headers, it
returns 403. It doesn't happen with other browsers like firefox or
curl.

Line of command:
wget https://lectortmo.com/viewer/5d015e7feac52/cascade
--header="Host: www.google.com" --user-agent="Mozilla/5.0 (X11; Linux
i686; rv:85.0) Gecko/20100101 Firefox/85.0"
--referer="https://lectortmo.com/viewer/5d015e7feac52/cascade"; -O
test.txt

Site with always 403: https://lectortmo.com/

My assumption is that the server requires ALPN. Wget is not using it as

it doesn't support HTTP/2 anyways.

So my assumption was wrong. That server requires the Host: header to be the first in the request. I think that it makes sense to have that header line at the first position anyways.
The change has been pushed.


Wget2 has no issues with that website.
To build the latest version, please follow
https://gitlab.com/gnuwget/wget2#downloading-and-building-from-tarball

Regards, Tim


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]