delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/06/27/16:56:01

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=BY5b10iunRL32lWXCEHxH9oSDZRHI
RPGDrRJFURP7ha2WiOunMaFOx/t3myO13fOV7ujtvvi71Wz2xI9Dwawzu4xxRvc4
d1MpXOyhDjxkVHxIJ0Sntvk/ZRnb/Nr9CtDfI8r/azzCQVUL61tATnFYRYHEnmnb
+8vyQaVCz4w7cE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=B+/DvaftrNpnKNBmPKa2hyUBJys=; b=AWb
rtNOYVJ7lIEQWApPS2KIXOoUh4aq6XP+Tcj7CxGRRWTj4/fdle4k2ymh+650wvp1
3/7Ik5LWlp0T1TClD1bPuGSy9HPwiNUCU+oCfGM0qdiAVY4gvjl6NzG4zxTeCBjt
fpsvE0iHowLipQhsy4qtDdIMVu+du2fnHAcc1E5I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=BAYES_00,EXECUTABLE_URI,GIT_PATCH_2,KAM_EXEURI,MIME_BASE64_BLANKS,SPF_PASS autolearn=ham version=3.3.2 spammy=Via, expires, age
X-HELO: USA7109MR008.ACS-INC.COM
From: "Nellis, Kenneth" <Kenneth DOT Nellis AT conduent DOT com>
To: Csaba Raduly <rcsaba AT gmail DOT com>, cygwin list <cygwin AT cygwin DOT com>
CC: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
Subject: RE: Updated: setup (2.880)
Date: Tue, 27 Jun 2017 20:55:38 +0000
Message-ID: <BN6PR2001MB1074F5546A217174ABC51170F1DC0@BN6PR2001MB1074.namprd20.prod.outlook.com>
References: <CAEhDDbB9B=cxa1RvCQqHYzYRT3bHanJ7MjJSS30u53k35eHuOQ AT mail DOT gmail DOT com>
In-Reply-To: <CAEhDDbB9B=cxa1RvCQqHYzYRT3bHanJ7MjJSS30u53k35eHuOQ@mail.gmail.com>
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=conduent.com;
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1;BN6PR2001MB1076;20:H2UajGO4/NUMnw54P1kQk8I8qbipoDMF87tHhcf4zMuxQW+ndTomHSf+0AsDMZgL+kQUFikLi9E/gSacZg/vytJ/opg9pi+QEyg4dYM7CxW/JbifUYv9e6MtePqWKLdAHBO7j5eUn3tak4ZQCgBLND5K8y6XiE9ji/as1Q6wmGq1Oq5jti6D8rpfczojAeiJU2s513R7zuvMDlEZcSC5tVlXShBV7mHhSTm7V1kRpUdDRALzJc8ipYiHt94aALyV
x-ms-office365-filtering-correlation-id: 796ee521-14f4-4f11-b504-08d4bd9edd67
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095);SRVR:BN6PR2001MB1076;
x-ms-traffictypediagnostic: BN6PR2001MB1076:
x-microsoft-antispam-prvs: <BN6PR2001MB1076911191534A6EF097259AF1DC0 AT BN6PR2001MB1076 DOT namprd20 DOT prod DOT outlook DOT com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(236129657087228)(48057245064654);
x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(3002001)(93006095)(93001095)(10201501046)(6041248)(20161123564025)(20161123562025)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:BN6PR2001MB1076;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:BN6PR2001MB1076;
x-forefront-prvs: 0351D213B3
x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(6009001)(39450400003)(39410400002)(39840400002)(39850400002)(39400400002)(39860400002)(377424004)(6306002)(3280700002)(2906002)(6436002)(3660700001)(55016002)(9686003)(99286003)(10710500007)(66066001)(39060400002)(7696004)(7736002)(2950100002)(86362001)(5660300001)(2900100001)(33656002)(2420400007)(229853002)(4326008)(74316002)(478600001)(966005)(76176999)(50986999)(8936002)(305945005)(8676002)(53936002)(72206003)(7110500001)(6246003)(102836003)(54356999)(14454004)(15650500001)(6506006)(77096006)(53376002)(6116002)(25786009)(3846002)(189998001)(38730400002)(81166006)(460985005)(2480315003);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR2001MB1076;H:BN6PR2001MB1074.namprd20.prod.outlook.com;FPR:;SPF:None;MLV:ovrnspm;PTR:InfoNoRecords;LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2017 20:55:38.0954 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 1aed4588-b8ce-43a8-a775-989538fd30d8
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR2001MB1076
X-OriginatorOrg: conduent.com
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v5RKtx6Z014140

From: Csaba Raduly 
> I also couldn't reproduce your scenario.
> ...
> 
> Since it's reproducible for you, you could (if you're curious) run
> wget with the -d (--debug) switch or break out the heavy artillery:
> install Wireshark and look at the HTTP headers sent and received by
> wget.

Thanx, Csaba, for your interest. Another test with -d is easy enough,
so here it is:

$ wget -d -O setup-x86_64.exe http://cygwin.com/setup-x86_64.exe
Setting --output-document (outputdocument) to setup-x86_64.exe
DEBUG output created by Wget 1.19.1 on cygwin.

Reading HSTS entries from /home/knellis/.wget-hsts
--2017-06-27 16:42:01--  http://cygwin.com/setup-x86_64.exe
Resolving cygwin.com... 209.132.180.131
Caching cygwin.com => 209.132.180.131
Connecting to cygwin.com|209.132.180.131|:80... connected.
Created socket 5.
Releasing 0x0000000600066420 (new refcount 1).

---request begin---
GET /setup-x86_64.exe HTTP/1.1
User-Agent: Wget/1.19.1 (cygwin)
Accept: */*
Accept-Encoding: identity
Host: cygwin.com
Connection: Keep-Alive

---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 200 OK
Server: Apache
ETag: "16b1f9e-dd613-55161a558184f"
Accept-Ranges: bytes
Cache-Control: max-age=0
Expires: Tue, 27 Jun 2017 20:40:06 GMT
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Security-Policy: default-src 'self' http: https:
Keep-Alive: timeout=30, max=20
Content-Length: 877562
Content-Type: application/octet-stream
Last-Modified: Wed, 07 Jun 2017 16:58:31 GMT
Date: Tue, 27 Jun 2017 20:39:27 GMT
Age: 0
Via: 1.1 ironport.tms.local:80 (Cisco-WSA/10.1.0-204)
Connection: keep-alive

---response end---
200 OK
Registered socket 5 for persistent reuse.
Length: 877562 (857K) [application/octet-stream]
Saving to: ‘setup-x86_64.exe’

setup-x86_64.exe            100%[===========================================>] 856.99K  --.-KB/s    in 0.01s

2017-06-27 16:42:02 (73.9 MB/s) - ‘setup-x86_64.exe’ saved [877562/877562]

$ file *.exe
setup-x86_64.exe: gzip compressed data, from Unix
$

Note the response from the Apache server:
> Content-Encoding: gzip
Not sure why it would do that. Maybe my wget could be more specific.
But my updated script (per advice from others) is working fine.

--Ken Nellis

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019