delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/05/17/00:17:33

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:subject:references:to:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=X4PeIOw20g8m+LOu
X0Nhjm8rKPhxyutxiZc7ee4S4AYMmTM2xihcm+begwUdkwbtprmuyLs9n7INHLhV
YSLPAxiSFsWvZ6ntyLKAdr0mILMg3KuWZM40HcwQbgMW09RSJrn0kZAcJOqmb8DJ
AB3ZI+sgfdmfQw9brKW1r9vONT4=
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:subject:references:to:reply-to:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=adAhcb/cGkj+qzoJC83540
fXA98=; b=gVydEjZ/Q8lasavE7Gxs8fKMQepOwm7Pm2LcQmq1W2Z3ZVVbIVwTXy
sIxR8rLB61kGrTuKLi3v7UtfoVhltuzd3wkVTqbhIA8cPtQVREp+l5cqw1IiSyGS
0M5pyMM9atIqCPVVWjGfhADr5w7GA0lJl0TI0EXOFXLyayXfHsTKk=
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=0.8 required=5.0 tests=AWL,BAYES_00,EXECUTABLE_URI,KAM_EXEURI,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=css, Hx-spam-relays-external:64.59.134.9, H*RU:64.59.134.9, browser
X-HELO: smtp-out-no.shaw.ca
X-Authority-Analysis: v=2.2 cv=dZbw5Tfe c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=celTjnskAAAA:8 a=w_pzkKWiAAAA:8 a=FBa8aPMqL5hHEVnczaAA:9 a=c4B1LPS2_t0Uw2FS:21 a=8BZCB7brnP1SYQBX:21 a=QEXdDO2ut3YA:10 a=OgDWvqJ8EVWPGQLKwCUw:22 a=sRI3_1zDfAgwuvI8zelB:22
Subject: Re: setup release candidate - please test
References: <229690283 DOT 739700 DOT 1494954490567 DOT ref AT mail DOT yahoo DOT com> <229690283 DOT 739700 DOT 1494954490567 AT mail DOT yahoo DOT com>
To: cygwin AT cygwin DOT com
Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <cc5aa403-e767-bbfa-ec60-6bb29374fb1c@SystematicSw.ab.ca>
Date: Tue, 16 May 2017 22:14:21 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <229690283.739700.1494954490567@mail.yahoo.com>
X-CMAE-Envelope: MS4wfPJR84y+rHqmV7UBGn0VJbKSuRua8mogPhu+45zDv/0YGcPijtyh1wP8EPwjHKbYYJsZ/sBz6kYbbFZkQYF/N45oNXl5Dl2IUuSg2uboLg8MaXw4LKhR ezAizuB7oIPXm5ix/kUy0QtSTXowAxjuT6pCwlLNM5lmQ8m/sLp53TiPzFp0C4JKzu4XFJ+DKRW/2A==
X-IsSubscribed: yes

On 2017-05-16 11:08, Ian Lambert wrote:
> On Tue, May 16, 2017, 12:55 PM Brian Inglis wrote:
> Except not using the option, this is the only one I found that works
> here with wget:
> --user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64;Trident/7.0; rv:11.0) like Gecko"
> (Note: proxy_user and proxy_password, as well as  are also being set 
> in .wgetrc and .bashrc and https_proxy, http_proxy and ftp_proxy are 
> additionally being set in .bashrc)
>> What about just a plain --user-agent=Mozilla/4.0?
>> That and null are the only values I have hard wired into scripts
>> where there were problems.
>> With your current browser, you can go to
>>      http://www.askapache.com/online-tools/whoami/
>> to find out your current headers.
> No. The plain one does not work. Only the long user agent above, not
> using --user-agent..., or
> --user-agent="Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
> work with wget here. Those 2 are seen in that tool for iE or Firefox
> browsers.

Couple more suggestions to try to see if they can get thru the proxy:

$ curl -J|-O [--user-agent ...] https://cygwin.com/setup-x86_64.exe
$ lynx -source [-useragent ...] https://cygwin.com/setup-x86_64.exe >
setup-x86_64.exe

which might give developers hints how setup could be changed to work.

From testing curl uses minimal extra headers, wget a few, and lynx
TUI most like GUI products:

User-Agent:	curl/7.54.0  Wget/1.19.1 (cygwin)  Lynx/2.8.7rel.1
libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/1.0.2k
Accept:		*/*	     */*		   text/html, text/plain, text/css, text/sgml,
*/*;q=0.01
Accept-Encoding:	     identity		   gzip, bzip2
Connection:		     Keep-Alive
Accept-Language:				   en

I don't use emacs or I would have tested it, so perhaps someone
who lives in it could; I find vim's "browser" less than useful,
although I can otherwise live in it, as others can with emacs:
so many scripts and plugins, so little time to try them and
tweak them.

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

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