Instructions for the programming part in HW2
What to submit:
Please, follow these conventions:
Use python 2.7
Use the port = 6789 for the WebServer.
Follow the instructions and use the Python code provided at the
For the WebServer, you can get the tcp server from the discussion
and then change the part of the code where the Server replies to the client (it is after the connection establishment).
In the README.txt file, you should write a short description of your code.
Your WebServer must work with various types of files, e.g. html, jpeg, etc.
Make sure that your code handles the case when a non-existent file is requested from your WebServer.