summaryrefslogtreecommitdiff
path: root/tests/scripts/webclient.pl
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-27 11:18:01 +0200
committerMichael Adam <obnox@samba.org>2009-09-27 11:18:52 +0200
commit79e994dd97453a69f024aab88b98d1f0881f3a3d (patch)
treeac51e274fb926cb44254c7331fd47a865660ff6a /tests/scripts/webclient.pl
parent039537cbe742737cb9bb5b4ac850d1b0f032a034 (diff)
downloadtinyproxy-79e994dd97453a69f024aab88b98d1f0881f3a3d.tar.gz
tinyproxy-79e994dd97453a69f024aab88b98d1f0881f3a3d.zip
tests:webclient: allow HTTP/1.0 requests with methods other than GET
Michael
Diffstat (limited to 'tests/scripts/webclient.pl')
-rwxr-xr-xtests/scripts/webclient.pl3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/scripts/webclient.pl b/tests/scripts/webclient.pl
index 19381b9..8d1c988 100755
--- a/tests/scripts/webclient.pl
+++ b/tests/scripts/webclient.pl
@@ -64,9 +64,6 @@ sub build_request($$$$$)
}
$request = "$method $document$EOL";
} elsif ($version eq '1.0') {
- if ($method ne 'GET') {
- die "invalid method '$method'";
- }
$request = "$method $document HTTP/$version$EOL"
. $user_agent_header;
} elsif ($version eq '1.1') {