wget/testenv/conf
sulfastor 4ce2f93600 Hi, Thank you again Darshit for your response. The RejectHeaderField rule rejects ANY header
of the header field while RejectHeader rejects ONLY the specified full header.
	Since we wanted to be sure a header field is not sent to the server we wrote this rule.

	* doc/wget.texi: Added --disable-header documentation.
        * fuzz/wget_options_fuzzer.dict: Update with --disable-header inputs.
        * src/http.c (disabled_header): Checks for disabled headers
	(request_set_header): Doesn't let header to be set if disabled
	(gethttp): frees disabled header to let overriding
        * src/init.c (cmd_dis_header), (check_user_disabled_header) added new option disabled_headers.
        * src/main.c: added new option --disable-header, added help description
        * src/options.h: added new option --disable-header
	* src/utils.h (vec_remove_header)
	* src/utils.c (vec_remove_header) removes all header instances from vector
        * testenv/Makefile.am: Added new test files
        * testenv/server/http/http_server.py: Added new rule RejectHeaderField
        * testenv/conf/reject_header_field.py: Added new rule RejectHeaderField
        * testenv/README: Added help description for new rule
        * testenv/Test-disable-default-headers.py: Test without using --header
        * testenv/Test-disable-headers-after.py: Test using --header before --disable-header
        * testenv/Test-disable-headers-before.py: Test using --header after --disable-header

Signed-off-by: sulfastor <torresmoisesa@gmail.com>, adham elkarn <adhamelkarn@hotmail.com>
2019-05-30 10:01:24 +02:00
..
__init__.py PEP8'ify the Python Test Suite 2015-04-14 10:59:17 +05:30
authentication.py Add tests for missing qop in digest auth 2015-09-22 16:38:40 +05:30
domains.py Enhancements in testsuite engine + new HSTS test. 2015-07-20 16:06:40 +02:00
expect_header.py Documentation and code cleanup in test suite 2014-08-08 17:38:11 +05:30
expected_files.py * testenv/conf/expected_files.py: Ignore pubring.gpg 2018-01-31 09:04:42 +01:00
expected_ret_code.py Documentation and code cleanup in test suite 2014-08-08 17:38:11 +05:30
files_crawled.py PEP8'ify the Python Test Suite 2015-04-14 10:59:17 +05:30
hook_sample.py PEP8'ify the Python Test Suite 2015-04-14 10:59:17 +05:30
local_files.py Implement timestamp support for local files in testenv 2015-05-22 11:08:30 +02:00
reject_header_field.py Hi, Thank you again Darshit for your response. The RejectHeaderField rule rejects ANY header 2019-05-30 10:01:24 +02:00
reject_header.py PEP8'ify the Python Test Suite 2015-04-14 10:59:17 +05:30
response.py Documentation and code cleanup in test suite 2014-08-08 17:38:11 +05:30
rule_sample.py Refactor the Python based test suite 2014-07-24 16:51:58 +05:30
send_header.py Documentation and code cleanup in test suite 2014-08-08 17:38:11 +05:30
server_files.py PEP8'ify the Python Test Suite 2015-04-14 10:59:17 +05:30
urls.py Documentation and code cleanup in test suite 2014-08-08 17:38:11 +05:30
wget_commands.py Fix typos 2016-07-02 19:01:24 +02:00