You will need to try each URI given in the assignment as well as a random one that does not exist and a HEAD request. A typical script is given below.
$ wwwserv 2456 &
$ ~cs268/bin/nc naur 2456
GET / HTTP/1.0
HTTP/1.0 200 OK
Content-type: text/plain
[text version of information]
$ ~cs268/bin/nc naur 2456
GET /index.html HTTP/1.0
HTTP/1.0 200 OK
Content-type: text/html
[HTML version of information]
$ ~cs268/bin/nc naur 2456
GET /time HTTP/1.0
HTTP/1.0 200 OK
Content-type: text/plain
[text version of information]
$ ~cs268/bin/nc naur 2456
GET /host HTTP/1.0
HTTP/1.0 200 OK
Content-type: text/plain
[text version of information]
$ ~cs268/bin/nc naur 2456
GET /user HTTP/1.0
HTTP/1.0 200 OK
Content-type: text/plain
[text version of information]
$ ~cs268/bin/nc naur 2456
GET /random-uri HTTP/1.0
HTTP/1.0 404 Not Found
Content-type: text/html
The request URI was not available.
$ ~cs268/bin/nc naur 2456
HEAD /index.html HTTP/1.0
HTTP/1.0 501 Not Implemented
Content-type: text/html
The request method is not implemented