tests:webclient: allow HTTP/1.0 requests with methods other than GET

Michael
This commit is contained in:
Michael Adam committed 2009-09-27 11:18:52 +02:00
1 parent 039537cbe7
commit 79e994dd97
1 file changed
-3
-3
View File
@@ -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') {