COMP 361 Spring 2005 L1 Project Marking Scheme

Proxy Server

 

 

Attached below is the general outline of the marking scheme that we will use for the proxy-server project.  Note that the  web sites listed are only examples of the types of sites we might test on.  The actual sites used in the test might be different.

 

 

Test Schema

Operations

Expected Result

%

Preliminary: Compile and run successfully, no error message. (JDK 1.4.2)

Well documented

40

Basic Requirement:

Basic proxy function

Open Netscape/IE and go to:

http://www.cs.ust.hk/~golin

html/gif displays perfectly;

Content-Length:5611 + 39516

20

Header processing

Check the server console output

Does NOT forward the

Connection,

Proxy-Connection, Keep-Alive, If-Modified-Since and If-None-Match Headers

10

Other Requirements

304 Not Modified

refresh

Response header:

HTTP/1.1 304 Not Modified

10

501 Not Implemented

http://www.ust.hk/intranet/stu/   "communications directory"
(POST method)

This is an example of a method you are not supposed to implement

Browser message: 501/505 –  Not implemented / Not supported

10

502 Unknown Host

Go to : http://www.qwert.com

502 Bad Gateway / Unknown Host

10