A little chat... |
The rows above are information sent by the client to the server. At this point the server replies:
What does it means the above dialogue? GET //anydirectory/anypage.html HTTP/1.0 The client asks for a page called anypage.html (GET) and indicates the HTTP version (1.0). User-agent: NCSA Mosaic for the X Window System/2.5 The client says to the server its name (NCSA Mosaic) and the operating system which is running.
Finally, the client says to the server which file formats it is able to handle. At this point the server replies: HTTP/1.0 Status 200 Document follows That is the HTTP version (1.0) and a return code (status). When the request is successful, the server reutrns '200', otherwise it returns '404' (there are several status codes anyway). Server: NCSA/1.4 The server's type and its version (1.4). Date: Sat, 6 July, 1998 12:12:12 GMT The server's local time. Content-type: text/html The file format (an HTML page). Content-length: 5300 The length of that page. Last-modified: Fri, 5 July 1998 12:12:00 GMT The last modified date. |
Index Home Back About Contact us!
Copyright (c) 1998-2006 Wowarea