delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/13/11:44:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=4.6 required=5.0 tests=BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,EXECUTABLE_URI,FREEMAIL_FROM,FREEMAIL_REPLY,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <61485342.20100813142711@mtu-net.ru>
References: <AANLkTi=vHV6cgqzBTBiM0nKNK9dP2pt=_rw3f2g9Hz+O AT mail DOT gmail DOT com> <AANLkTi=pZbzUhK+5EUu--0LyYbsChKdcDKXSnu6Qm4WY AT mail DOT gmail DOT com> <AANLkTimE8RjX9O2s+cKhGGG-SJx1sgEJ+1ZjtJ+gTE6e AT mail DOT gmail DOT com> <358564705 DOT 20100812005148 AT mtu-net DOT ru> <4C630ECE DOT 7000405 AT cygwin DOT com> <1948573623 DOT 20100812110206 AT mtu-net DOT ru> <AANLkTimbXTO2zBPrCFZ+3+j=J6=m1wB-V1qALCKP4YWw AT mail DOT gmail DOT com> <1734245752 DOT 20100812172717 AT mtu-net DOT ru> <20100812133523 DOT GF14202 AT calimero DOT vinschen DOT de> <61485342 DOT 20100813142711 AT mtu-net DOT ru>
Date: Fri, 13 Aug 2010 16:44:39 +0100
Message-ID: <AANLkTins1DbnpzQvEbDghBWTx27TvrwWAvveYFuUshcB@mail.gmail.com>
Subject: Re: Incomplete installation of subversion
From: Phil Betts <phil DOT betts AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On 13 August 2010 11:27, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>
>>> > On Thu, Aug 12, 2010 at 9:02 AM, Andrey Repin =A0wrote:
>>> > (snip)
>>> >> <stdout>:curl -iI -H "Accept-Encoding: gzip" -s -- "http://cygwin.co=
m/setup.exe"
>>> >> HTTP/1.1 200 OK
>>> >> Date: Thu, 12 Aug 2010 06:59:40 GMT
>>> >> Server: Apache/2.0.52 (Red Hat)
>>> >> Last-Modified: Tue, 10 Aug 2010 16:28:21 GMT
>>> >> ETag: "18e01b8-a7413-9f101340"
>>> >> Accept-Ranges: bytes
>>> >> Vary: Accept-Encoding
>>> >> Content-Encoding: gzip
>>> >> Cache-Control: max-age=3D0
>>> >> Expires: Thu, 12 Aug 2010 06:59:40 GMT
>>> >> Content-Type: application/octet-stream
>>>
>>> > Works for me with wget:
>>>
>>> Of course. It's just you can't launch it after wget - file don't have r=
ights
>>> to execute it.
>
>> chmod +x ?
>
> Indeed, yet again, it's not the point of my question.
> I have download manager processing downloads from my web browser.
> It's quite enough for me. When server behave correctly.

There's nothing wrong (in this regard) with the server. =A0See
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

| In HTTP, it SHOULD be sent whenever the message's length can be
| determined prior to being transferred

You forced it to use gzip encoding, which is often a streaming
process, and in general a server won't know in advance how long the
content will be.

Remove the -H (and -I) and curl works just fine (and the content is
shorter than the gzipped version).

In fact, curl works just fine even with the -H option, as long as you
remove the -I, and remember to gunzip the contents.

You had the choice of:
a) criticizing the set-up of one of the web's largest and most reliable
   download sites or
b) pausing to consider whether perhaps you'd missed something in your
   HTTP class
I think perhaps you made the wrong choice.


Phil

--=20

>
> --
> WBR,
> =A0Andrey Repin (anrdaemon AT freemail DOT ru) 13.08.2010, <14:26>

--
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