From 79e994dd97453a69f024aab88b98d1f0881f3a3d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 27 Sep 2009 11:18:01 +0200 Subject: tests:webclient: allow HTTP/1.0 requests with methods other than GET Michael --- tests/scripts/webclient.pl | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/scripts/webclient.pl') 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') { -- cgit v1.2.3