Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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?= 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: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 8bit Content-Disposition: inline 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 wrote: > > . 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/