This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setup release candidate - please test
- From: Brian Inglis <Brian dot Inglis at SystematicSw dot ab dot ca>
- To: cygwin at cygwin dot com
- Date: Tue, 16 May 2017 22:14:21 -0600
- Subject: Re: setup release candidate - please test
- Authentication-results: sourceware.org; auth=none
- References: <229690283.739700.1494954490567.ref@mail.yahoo.com> <229690283.739700.1494954490567@mail.yahoo.com>
- Reply-to: Brian dot Inglis at SystematicSw dot ab dot ca
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