|
From: | Bruno Haible |
Subject: | Re: [bug #57884] wget reveals my operating system to the server |
Date: | Mon, 24 Feb 2020 12:42:49 +0100 |
User-agent: | KMail/5.1.3 (Linux/4.4.0-171-generic; KDE/5.18.0; x86_64; ; ) |
address@hidden wrote: > I wonder about the reason given: "To avoid compatibility issues." > That was - if I recall correctly - the reason for having the string > to start with: So that servers can format pages to suit the capabilities > of the browser and version used. That was how web applications were written 15-20 years ago. 10 years ago, the browser capabilities are queried by the JavaScript toolkit [1][2]. Nowadays, they prefer feature detection in JavaScript. Bruno [1] https://dojotoolkit.org/reference-guide/1.7/quickstart/browser-sniffing.html [2] https://api.jquery.com/jQuery.browser/
[Prev in Thread] | Current Thread | [Next in Thread] |