servlet,servlet开发人员 --->servlet api --> servlet container the parts of an http message
message part description the initial line: specifies the purpose of the request or response message 例子:get /reports/sales/index.html http/1.0 the header section:specifies the meta-information, such as size, type, and encoding, about the content of the message a blank line: an optional message body: the main content of the request or response message
下面是一个response的例子:
http/1.0 200 ok date: tue, 01 dec 2001 23:59:59 gmt content-type: text/html content-length: 52