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

Michael
This commit is contained in:
Michael Adam 2009-09-27 11:18:01 +02:00
parent 039537cbe7
commit 79e994dd97

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') {