previous | start | next

A Tour of the HTTP/1.0 Response Headers

HTTP/1.0 200 OK
An ordinary plain text status line -- note the "200-series" status.
 
Server: Netscape-Enterprise/3.5.1C
Date: Sun, 16 Mar 2004 11:48:39 GMT
Last-modified: Fri, 14 Mar 2004 02:22:52 GMT
Various entertaining bits of information. The "Last-modified:" header is very useful, see the HTTP/1.0 "Conditional-GET" and HEAD" request types.
 
Content-length: 11378
Content-type: text/html
These two headers follow (approximately) the MIME convention for identifying the type of data contained in the "body" of the response -- in this case, ASCII text which should be interpreted as HTML by the browser. Note that MIME email-header "Content-Encoding:" (used in MIME-encoded email messages) is not normally used in HTTP because the protocol is designed to handle "8-bit" data. That is, any data at all can be sent after the blank line which signifies the end of the response headers.
 
Lecture 05: Applications #3.1: HTML and HTTP Basics Copyright © 2005 P.Scott, La Trobe University Bendigo.


previous | start | next