delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/17/14:11:17

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: Markus =?iso-8859-15?q?Sch=F6nhaber?= <mks AT schoenhaber DOT de>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: IE5 settings in setup.exe
Date: Fri, 17 Jun 2005 20:11:01 +0200
User-Agent: KMail/1.8.1
References: <ccb6ce4a050617083248cfcbeb AT mail DOT gmail DOT com> <ccb6ce4a05061710451cca401b AT mail DOT gmail DOT com> <Pine DOT GSO DOT 4 DOT 61 DOT 0506171353470 DOT 4421 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.61.0506171353470.4421@slinky.cs.nyu.edu>
MIME-Version: 1.0
Message-Id: <200506172011.01752.mks@schoenhaber.de>
X-IsSubscribed: yes

Am Freitag, 17. Juni 2005 19:57 schrieb Igor Pechtchanski:
> Ugh, top-posting.  Reformatted.
>
> On Fri, 17 Jun 2005, Andrea M wrote:
> > On 6/17/05, Markus Schönhaber <mks AT XXXXXXXXXXX DOT XX> wrote:
>
> <http://cygwin.com/acronyms/#PCYMTNQREAIYR>.  Thanks.
>
> > > Am Freitag, 17. Juni 2005 17:32 schrieb Andrea M:
> > > > I am having problems with the IE5 settings in the setup program
> > > > (can't get a list of download sites). Does anybody know what
> > > > user-agent cygwin uses?
> > >
> > > None.
> > > This is the request/response from my version of setup getting the
> > > server-list:
> > >
> > > -----snip-----
> > >
> > > GET http://sources.redhat.com/cygwin/mirrors.lst HTTP/1.0
> > > Host: sources.redhat.com
> > >
> > > HTTP/1.0 200 OK
> > > Date: Fri, 17 Jun 2005 15:37:41 GMT
> > > Server: Apache/2.0.46 (Red Hat)
> > > Last-Modified: Thu, 16 Jun 2005 21:44:24 GMT
> > > ETag: "2384c3-1b75-c5d81e00"
> > > Accept-Ranges: bytes
> > > Content-Length: 7029
> > > Content-Type: text/plain
> > > Age: 136
> > > X-Cache: HIT from Saruman.schoenhaber.de
> > > X-Cache-Lookup: HIT from Saruman.schoenhaber.de:3128
> > > Proxy-Connection: close
> > >
> > > # Do not edit - see warning in mirrors.html
> > > http://www.carfield.com.hk/mirror/sources.redhat.com/cygwin;www.carfiel
> > >d.com.hk;Asia;Hong Kong
> > > [...]
> > >
> > > -----snap-----
> > >
> > > Regards
> > >  mks
> >
> > Any idea how I can make it send an user-agent? Otherwise it won't work.
> > Thanks!
>
> AIUI, the above is when setup uses "Direct Connection".  When "IE5
> Settings" is used, setup simply delegates to IE to do what it will --
> including sending the User-agent header.  It's been a while since I've
> looked at the relevant code, though, so I may be wrong.

Oh, I didn't consider it might make a difference.
The above snippet was captured with manual setting of "Use HTTP/FTP Proxy:".

On my machine with setup.exe 2.457.2.2 and "Use IE5 Settings" the following 
request is made:

GET http://sources.redhat.com/cygwin/mirrors.lst HTTP/1.1 
User-Agent: Cygwin Setup 
Host: sources.redhat.com 
Proxy-Connection: Keep-Alive 

Regards
  mks



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

- Raw text -


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