Web lists-archives.com

curl, firefox issue




Hi All,

https://support.kaspersky.com/viruses/rescuedisk

Any idea why I can get to the right web site with
Firefox, but not curl?

$ curl -L -vvv https://support.kaspersky.com/viruses/rescuedisk/ -o eraseme.html

Sends me to what looks a lot like:
https://support.kaspersky.com

Many thanks,
-T

$ curl -L -vvv https://support.kaspersky.com/viruses/rescuedisk/ -o eraseme.html % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to support.kaspersky.com port 443 (#0)
*   Trying 4.59.181.216...
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0* Connected to support.kaspersky.com (4.59.181.216) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
*   CAfile: /etc/pki/tls/certs/ca-bundle.crt
  CApath: none
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=support.kaspersky.com,OU=IT,O=AO Kaspersky Lab,L=Moscow,ST=Moscow,C=RU
*       start date: Jul 06 00:00:00 2017 GMT
*       expire date: Mar 31 23:59:59 2018 GMT
*       common name: support.kaspersky.com
*       issuer: CN=thawte SSL CA - G2,O="thawte, Inc.",C=US
> GET /viruses/rescuedisk/ HTTP/1.1
> User-Agent: curl/7.29.0
> Host: support.kaspersky.com
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html; charset=UTF-8
< Location: http://support.kaspersky.com/viruses/rescuedisk?qs=on
< Server:
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< X-Server: can1/
< Date: Wed, 20 Sep 2017 02:12:36 GMT
< Content-Length: 176
<
* Ignoring the response-body
{ [data not shown]
100 176 100 176 0 0 91 0 0:00:01 0:00:01 --:--:-- 91
* Connection #0 to host support.kaspersky.com left intact
* Issue another request to this URL: 'http://support.kaspersky.com/viruses/rescuedisk?qs=on'
* Found bundle for host support.kaspersky.com: 0x1b0bfd0
* About to connect() to support.kaspersky.com port 80 (#1)
*   Trying 4.59.181.216...
* Connected to support.kaspersky.com (4.59.181.216) port 80 (#1)
> GET /viruses/rescuedisk?qs=on HTTP/1.1
> User-Agent: curl/7.29.0
> Host: support.kaspersky.com
> Accept: */*
>
< HTTP/1.1 301 Moved Permanently
< Content-Type: text/html; charset=UTF-8
< Location: https://support.kaspersky.com/?qs=on
< Server:
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< X-Server: can1/
< Date: Wed, 20 Sep 2017 02:12:36 GMT
< Content-Length: 159
<
* Ignoring the response-body
{ [data not shown]
100 159 100 159 0 0 76 0 0:00:02 0:00:02 --:--:-- 76
* Connection #1 to host support.kaspersky.com left intact
* Issue another request to this URL: 'https://support.kaspersky.com/?qs=on'
* Found bundle for host support.kaspersky.com: 0x1b0bfd0
* Re-using existing connection! (#0) with host support.kaspersky.com
* Connected to support.kaspersky.com (4.59.181.216) port 443 (#0)
> GET /?qs=on HTTP/1.1
> User-Agent: curl/7.29.0
> Host: support.kaspersky.com
> Accept: */*
>
< HTTP/1.1 200 OK
< Cache-Control: private
< Content-Type: text/html; charset=utf-8
< Server:
< Set-Cookie: ClientRouteNewSupport=c8856789222135debe213c4fcd0dc1a981a892f69320972c7f12300e27e5e763;Path=/;Domain=support.kaspersky.com
< X-Frame-Options: SAMEORIGIN
< X-Powered-By: Kaspersky Labs
< X-Server: can1/TRT1
< X-XSS-Protection: 1; mode=block
< X-Content-Type-Options: nosniff
< X-Powered-By: Kaspersky Labs
< Strict-Transport-Security: max-age=31536000; includeSubDomains
< Date: Wed, 20 Sep 2017 02:12:36 GMT
< Content-Length: 72525
<
{ [data not shown]
100 72525 100 72525 0 0 31194 0 0:00:02 0:00:02 --:--:-- 31194
* Connection #0 to host support.kaspersky.com left intact
_______________________________________________
general mailing list
general@xxxxxxxxxxxxxxxxx
https://lists.mozilla.org/listinfo/general