I'm sending couple of changes, including tests, which are result of Fedora Bug https://bugzilla.redhat.com/show_bug.cgi?id=1425097. For details, please see commit messages of each patch.
Tomas Hozza (3): Added tests for HTTP authentication using credentials from .netrc Fixed getting of credentials from .netrc Add command line option to disable use of .netrc doc/wget.texi | 6 +++ src/http.c | 2 +- src/main.c | 3 ++ testenv/Makefile.am | 4 ++ testenv/Test-auth-basic-netrc-pass-given.py | 68 +++++++++++++++++++++++++++++ testenv/Test-auth-basic-netrc-user-given.py | 68 +++++++++++++++++++++++++++++ testenv/Test-auth-basic-netrc.py | 66 ++++++++++++++++++++++++++++ testenv/Test-auth-basic-no-netrc-fail.py | 59 +++++++++++++++++++++++++ testenv/test/base_test.py | 2 +- 9 files changed, 276 insertions(+), 2 deletions(-) create mode 100755 testenv/Test-auth-basic-netrc-pass-given.py create mode 100755 testenv/Test-auth-basic-netrc-user-given.py create mode 100755 testenv/Test-auth-basic-netrc.py create mode 100755 testenv/Test-auth-basic-no-netrc-fail.py -- 2.7.4