星期日, 五月 22, 2005

Telnet and Http Protocol

HTTP 1.0
GET / HTTP/1.1 Host: www.apache.org

% telnet www.apache.org 80
HEAD / HTTP/1.1
Host: www.apache.org

Causion:sent two enter

get Response:

HTTP/1.1 200 OK Server: Apache/1.3.0