Go to file
Ander Juaristi 54058d2b18 Enhancements in testsuite engine + new HSTS test.
* testenv/Makefile.am: added new test 'Test-hsts.py'.
 * testenv/Test-hsts.py: new test for HSTS.
 * testenv/conf/domains.py: new hook to override domain list.
 * testenv/test/base_test.py: (__init__): new optional parameter
   for tests 'req_protocols'.
   (get_domain_addr): set the instance variables 'addr' and 'port'.
   Return address as an array (domain, port) instead of string.
   (gen_cmd_line): take into account domain and port.
 * testenv/test/http_test.py (__init__): new optional parameter
   'req_protocols'.
   (setup): new function. Call to server_setup() decoupled from
   begin() and moved here.
   (begin): call to superclass to maintain backward compatibility.
   Removed call to server_setup().

This patch adds a new parameter to the test suite called 'req_protocols',
and a new function called 'setup'. The ability for tests to be able to set some
extra parameters such as the actual requested protocols (with 'req_protocols')
became obvious when support for HSTS was added to Wget, where the requested URI
and the actual executed URI do not have to be the same. This new parameter is optional
and if not specified, the test suite behaves as before. Also, the new function 'setup'
is provided as a means to start the test HTTP server, but not launch the test yet
(this is done when calling 'begin', as usual), in case we want to query the address
and port in which the test server listens. If 'setup' is not called, it is automatically
invoked when calling 'begin'. With these measures, we preserve backward-compatibility with
existing tests.
2015-07-20 16:06:40 +02:00
build-aux Fix missing extern declaration error for build_info.pl 2014-11-22 17:26:06 +05:30
contrib contrib/check-hard: Indentation and spacing cleanup 2015-06-15 01:35:53 +05:30
doc Geolocation support for Metalink resources. 2015-07-20 15:31:06 +02:00
gnulib@875ec93e15 gnulib: update gnulib 2015-05-23 14:51:52 +02:00
m4 Fix autoconf warning 2012-09-30 17:48:13 +02:00
msdos maint: update copyright year ranges to include 2015 2015-03-09 16:32:01 +01:00
po Metalink support. 2015-07-20 15:30:39 +02:00
src Added support for HSTS. 2015-07-20 15:55:57 +02:00
testenv Enhancements in testsuite engine + new HSTS test. 2015-07-20 16:06:40 +02:00
tests Add valgrind suppression files for HTTPS tests 2015-06-16 20:31:00 +05:30
util paramcheck: use explicit quoting for here-docs 2015-05-04 10:13:24 +05:30
vms Do not depend on always defined macros 2014-06-12 18:49:15 +02:00
.gitignore Add po/stamp-po to gitignore 2014-11-20 18:57:37 +05:30
.gitmodules gnulib: add as a git submodule 2013-12-22 14:12:05 +01:00
.x-sc_po_check [mq]: cfg-mk 2009-09-21 20:39:44 -07:00
.x-sc_trailing_blank [mq]: cfg-mk 2009-09-21 20:39:44 -07:00
ABOUT-NLS Prepare new release 1.16 2014-10-27 09:56:47 +01:00
AUTHORS Fix typo. 2010-09-07 18:05:19 +02:00
COPYING Fix copyright year. 2011-05-19 10:34:26 +02:00
ChangeLog merge ChangeLog files in ChangeLog-2014-12-10. 2014-12-24 11:04:30 +01:00
ChangeLog-2014-12-10 Generate distributed ChangeLog from git log 2014-12-24 11:04:30 +01:00
MAILING-LIST Remove trailing empty lines 2014-06-12 18:49:15 +02:00
Makefile.am Generate distributed ChangeLog from git log 2014-12-24 11:04:30 +01:00
NEWS NEWS: cite metalink support 2015-07-20 15:50:29 +02:00
README Remove MAINTAINER from the README file. 2010-07-12 13:56:58 +02:00
README.checkout Improved test suite documentation 2015-04-13 19:36:39 +02:00
bootstrap Update bootstrap script 2014-11-16 15:00:24 +05:30
bootstrap.conf Metalink support. 2015-07-20 15:30:39 +02:00
cfg.mk * cfg.mk (VC_LIST_ALWAYS_EXCLUDE_REGEX): Add ChangeLog-2014-12-10. 2015-01-31 00:30:26 +01:00
configure.ac Metalink support. 2015-07-20 15:30:39 +02:00

README

                                                          -*- text -*-
GNU Wget
========
                  Current Web home: http://www.gnu.org/software/wget/

GNU Wget is a free utility for non-interactive download of files from
the Web.  It supports HTTP, HTTPS, and FTP protocols, as well as
retrieval through HTTP proxies.

It can follow links in HTML pages and create local versions of remote
web sites, fully recreating the directory structure of the original
site.  This is sometimes referred to as "recursive downloading."
While doing that, Wget respects the Robot Exclusion Standard
(/robots.txt).  Wget can be instructed to convert the links in
downloaded HTML files to the local files for offline viewing.

Recursive downloading also works with FTP, where Wget can retrieves a
hierarchy of directories and files.

With both HTTP and FTP, Wget can check whether a remote file has
changed on the server since the previous run, and only download the
newer files.

Wget has been designed for robustness over slow or unstable network
connections; if a download fails due to a network problem, it will
keep retrying until the whole file has been retrieved.  If the server
supports regetting, it will instruct the server to continue the
download from where it left off.

If you are behind a firewall that requires the use of a socks style
gateway, you can get the socks library and compile wget with support
for socks.

Most of the features are configurable, either through command-line
options, or via initialization file .wgetrc.  Wget allows you to
install a global startup file (/usr/local/etc/wgetrc by default) for
site settings.

Wget works under almost all Unix variants in use today and, unlike
many of its historical predecessors, is written entirely in C, thus
requiring no additional software, such as Perl.  The external software
it does work with, such as OpenSSL, is optional.  As Wget uses the GNU
Autoconf, it is easily built on and ported to new Unix-like systems.
The installation procedure is described in the INSTALL file.

As with other GNU software, the latest version of Wget can be found at
the master GNU archive site ftp.gnu.org, and its mirrors.  Wget
resides at <ftp://ftp.gnu.org/pub/gnu/wget/>.

Please report bugs in Wget to <bug-wget@gnu.org>.

See the file `MAILING-LIST' for information about Wget mailing lists.
Wget's home page is at <http://www.gnu.org/software/wget/>.

If you would like to contribute code for Wget, please read
http://wget.addictivecode.org/PatchGuidelines.

Wget was originally written and mainained by Hrvoje Niksic.  Please see
the file AUTHORS for a list of major contributors, and the ChangeLogs
for a detailed listing of all contributions.


Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
USA.

Additional permission under GNU GPL version 3 section 7

If you modify this program, or any covered work, by linking or
combining it with the OpenSSL project's OpenSSL library (or a
modified version of that library), containing parts covered by the
terms of the OpenSSL or SSLeay licenses, the Free Software Foundation
grants you additional permission to convey the resulting work.
Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work.