tests:webclient: allow HTTP/1.0 requests with methods other than GET
Michael
This commit is contained in:
1 parent
039537cbe7
commit
79e994dd97
1 file changed
-3
@@ -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') {
|
||||
|
||||
Reference in new issue
Block a user