This project implemented a Basic Web Server using Socket Programming. Singlethread.py handles one HTTP request at a time, and implements 200, 304, 400, 404 and 408 messages. While Multithread.py extends he simple web server to a multi-threaded version, that is capable of handling multiple requests simultaneously If you plan on running the singlethreaded version skip Installation Part 3, if you plan on running the multithreaded version skip Installation Part 2
- Clone the repository
git clone https://github.com/sarbjotm/Basic-Web-Server.git
- Run the Singlethreaded using Python 3.9
python singlethread.py
- Run the Multithreaded version using Python 3.9
python multithreaded.py
- Navigate to localhost:8080 to see the webpage run. If you change the port (PORT) replace 8080 with the new port when navigating