GET
request looks like:
The response from the server consists of a status line, then a number of plain text headers, followed by a blank line and then the requested data object. It's clearly a very similar format to an RFC822 email message:GET /index.html HTTP/1.0<newline><newline>
GET /index.html HTTP/1.0 HTTP/1.0 200 OK Server: Netscape-Enterprise/3.5.1C Date: Sun, 16 Mar 2004 11:48:39 GMT Content-type: text/html Last-modified: Fri, 14 Mar 2004 02:22:52 GMT Content-length: 11378 <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> ........(etc)
Lecture 05: Applications #3.1: HTML and HTTP Basics | Copyright © 2005 P.Scott, La Trobe University Bendigo. |