Assignment Set 1 - Submission Guidelines (Spring 2005)
To submit your assignment, you will need to show a run
of specific input for Parts 1, 2, 3, and 4. To receive partial credit
for any portion, you will need to show runs that demonstrate
those parts function correctly. For the different
parts of the assignment, here are the required runs to be
be captured.
- Part 1: Run your client with your server from part 2 on the same
machine. This machine must be one of the shell servers (murdock or wensong).
This means you will need to have Part 2 working to demonstrate Part 1.
Run your client with hostname of localhost and the port of your server.
Use an input file of your own making that contains more than 5 lines of text.
- Part 2: Include the server output in the run for Part 1.
- Part 3: Run this program with the following URLs:
- http://157.182.194.28/help.html
- http://bogus.urls:888/fake.html
- http://www.cemr.wvu.edu
- http://www.csee.wvu.edu/~tmont/aliensong.mpg
- http://www.csee.wvu.edu/~tmont/assign1-Sp05.html
- http://shell:8046/index.html
- Part 4: Construct a text file named myfile.html and place it
in the current working directory of your HTTP server. Then use your client
from Part 3 and wget to demonstrate operation of your server:
- Using your client from Part 3, retrieve myfile.html.
- Using wget, retrieve myfile.html. Use the -S option of wget to display
all of the headers returned.
- Using wget, retrieve notfound.html. This request should generate a 404
response. Use the -S option of wget to display all of the headers returned.
You must use scriptto start capturing your runs.
If you do not know how to use script, examine its man page.
A sample run might look like this.
$ script
Script started, file is typescript
$ httpclient http://www.csee.wvu.edu/~tmont/aliensong.mpg
Retrieving file....
Content-Type: video/mpg
Content-Length: 3201028
$ exit
Script done, file is typescript
You will need to submit all script runs and source code.
Please use the following command to submit your assignment:
~tmont/sub_cs453.pl file1 file2 file3 . . .
Some restrictions:
- You should include a README file that explains the files
and the usage of your programs.
- You must include a script of your program in operation with specific
input as given above.
- Do not include any binary files.
- Do not include any additional directories.
- Do not include any native code if using Java (JNI).
Please follow this procedure. If you do not follow this procedure
your programs will not be graded!
Todd L. Montgomery (revised 02.20.2005)