Check out http://www.w3.org/Protocols/HTTP/1.0...http-spec.html