Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 653 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 653 Bytes

PythonHTTPServer

Python HTTP Sever From Scratch

Sourabh Deshmukh 00001648445 Programming Assignment 1 02/07/2023

Multithreaded http web server written in python. Uses socket module to bind the port and start server. Responds with correct HTTP responses(400, 200, 404, 400). Supports plain text, html, images files.

Instructions to run the server

Either we can use git clone or simplgy download the zip file and follow from second command.

git clone https://github.com/sourabhdeshmukh/PythonHTTPServer.git

cd PythonHTTPServer

python web_server.py -document_root ./scu -port 8080

Open browser and access the server. http://localhost:8080