URL:
<http://savannah.gnu.org/bugs/?45443>
Summary: http_proxy variable should also work for capitalized
HTTP_PROXY
Project: GNU Wget
Submitted by: nok
Submitted on: Di 30 Jun 2015 11:09:43 CEST
Category: User Interface
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.16.3
Operating System: GNU/Linux
Reproducibility: Every Time
Fixed Release: None
Planned Release: None
Regression: None
Work Required: None
Patch Included: No
_______________________________________________________
Details:
Hello,
using the lowercase environment proxy variables works as documented:
# http_proxy=http://doesnotexist wget gnu.org
--2015-06-30 10:58:36-- http://gnu.org/
Resolving doesnotexist (doesnotexist)... failed: Name or service not known.
wget: unable to resolve host address 'doesnotexist'
but using it with capitalized variables they are ignored:
# HTTP_PROXY=http://doesnotexist wget gnu.org
--2015-06-30 11:07:42-- http://gnu.org/
Resolving gnu.org (gnu.org)... 208.118.235.148
Connecting to gnu.org (gnu.org)|208.118.235.148|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.gnu.org/ [following]
--2015-06-30 11:07:42-- http://www.gnu.org/
Resolving www.gnu.org (www.gnu.org)... 208.118.235.148, 2001:4830:134:3::a
Reusing existing connection to gnu.org:80.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: 'index.html'
index.html [ <=> ] 23.12K 63.1KB/s in 0.4s
2015-06-30 11:07:43 (63.1 KB/s) - 'index.html' saved [23677]
Variables are often written capitalized and they should not be ignored by
wget.
Thank you.
https://bugs.debian.org/790523
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45443>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/