curl / Mailing Lists / curl-users / Single Mail

curl-users

Where is Firefox getting the revision from?

From: ToddAndMargo <ToddAndMargo_at_zoho.com>
Date: Fri, 14 Sep 2018 22:08:58 -0700

Hi All,

When downloading ADWCleaner from

https://www.malwarebytes.com/adwcleaner/

Somehow Firefox (cliget) know what the revision is:

curl --header 'Host: download.toolslib.net' --user-agent 'Mozilla/5.0
(X11; Fedora; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0'
--header 'Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
--header 'Accept-Language: en-US,en;q=0.5' --referer
'https://www.malwarebytes.com/adwcleaner/' --header
'Upgrade-Insecure-Requests: 1'
'https://download.toolslib.net/download/direct/1/latest?channel=release'
--output 'adwcleaner_7.2.3.1.exe'

How did Firefox know the revision? And how can i get the
revision with Curl?

Many thanks,
-T

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-15