diff --git a/tests/scripts/webserver.pl b/tests/scripts/webserver.pl index 223ebd5..aa5eb13 100755 --- a/tests/scripts/webserver.pl +++ b/tests/scripts/webserver.pl @@ -193,10 +193,13 @@ sub child_action($) { return; } - print $client "HTTP/1.0 200 OK$EOL"; - print $client "$server_header$EOL"; - print $client "Content-Type: text/html$EOL"; - print $client "$EOL"; + if ($request->{version} ne "0.9") { + print $client "HTTP/1.0 200 OK$EOL"; + print $client "$server_header$EOL"; + print $client "Content-Type: text/html$EOL"; + print $client "$EOL"; + } + print $client "$EOL"; print $client "

Tinyproxy test WEB server

$EOL"; print $client "

Fortune

$EOL";