Sunday, February 20, 2011
Simple Multithreaded Web Server in Python
Like before when a client connects its socket it passed to the clientThread Class and then we call start which starts the thread
in the main loop of the thread instead of trying to pinpoint where the GET or POST request is i simply split the string by a space and then get the 2nd element(in this case its the 1st since we start at 0) is the file the client wants
so the client knows we are done sending the requested file.