I want to know what version of http used in my server. I have to request with command:
% telnet
www.pasteur.fr 80
Trying 157.99.64.12...
Connected to
www.pasteur.fr.
Escape character is '^]'.
GET /formation/infobio/web/cours/data/page1.html HTTP/1.0
HTTP/1.1 200 OK
Date: Tue, 24 Feb 2004 18:01:05 GMT
Server: Apache/1.3.26 (Unix) mod_perl/1.24_01 mod_ssl/2.8.10 OpenSSL/0.9.5a
Last-Modified: Tue, 18 Feb 2003 13:40:14 GMT
ETag: "101e6a1-cd-3e5237be"
Accept-Ranges: bytes
Content-Length: 205
Connection: close
Content-Type: text/html; charset=iso-8859-1
<html>
<head>
<title>A sample Web page</title>
</head>
<body>
<h1>A first header</h1>
And some text...
</body>
</html>
Connection closed by foreign host.
%
I Have request with http/1.0. but look that the answer come from HTTP/1.1. so , i dont know what version my server have?
I have request from HTTP/1.1 but the result become "HTTP/1.1 400 bad request "
i hope all friends can help me?