Purpose: Familiarize the student with client and server HTTP header information and the HTTP protocol.
1.Using a telnet client, connect to port 80 at http://www.cs.binghamton.edu host. Type: GET / HTTP/1.0 and press the enter key twice. You should receive the default Index page for my website on the www machine. Identify the HTTP header and it's various parts.
2.Take the simple HTTP server distributed below and modify it to: eliminate any deprecated APIs and print out, on the java console, every thing it receives from a client browser. Identify the HTTP header and its various parts. Repeat this with other browsers (Netscape, IE4, HotJava) and notice the differences.
Source files for HTTP Server: Serve.java, FileRequest.java.
Hand in printouts of the telnet and java consols.
Last updated 07/15/2002 - rvs