diff options
author | Michael Adam <obnox@samba.org> | 2009-09-27 11:18:01 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-09-27 11:18:52 +0200 |
commit | 79e994dd97453a69f024aab88b98d1f0881f3a3d (patch) | |
tree | ac51e274fb926cb44254c7331fd47a865660ff6a /tests | |
parent | 039537cbe742737cb9bb5b4ac850d1b0f032a034 (diff) | |
download | tinyproxy-79e994dd97453a69f024aab88b98d1f0881f3a3d.tar.gz tinyproxy-79e994dd97453a69f024aab88b98d1f0881f3a3d.zip |
tests:webclient: allow HTTP/1.0 requests with methods other than GET
Michael
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/scripts/webclient.pl | 3 |
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') { |