cewing/training.python_web — pull request #26 by austinhappel (2013-01-20 09:29:56+00:00)
Title: Austin

Hey there Cris - I just finished the homework for Week 02. Although this pull request includes a lot of content, I think the only file you really have to look at is: **assignments/week02/athome/http_serve.py**.

Instead of managing a bunch of top-level functions, I decided to make a class called ClientResponse, which gets instantiated each time a request is made. I still feel like a newbie to Classical programming, so feel free to criticize anything I did wrong.

Also: the server's base directory for listing files is **assignments/week02/lab/web** when run from it's current location.

Let me know if you have any questions!