-
High-level Description:
This web server listens for connections on a socket bounded to a port assigned by client on localhost. Clients can connect to this server and retrieve text, image files, html files of the sample webpage, www.scu.edu, from this server using GET method. The server also supports multiple threads enabling different ports of clients using a multi-threading approach in Python.
-
List of Submitted Files:
├── README.pdf
├── Request Log.md
├── Running instructions.md
├── config.json
├── files Storing jpg and pngs
│ ├── basketballfans.jpg
│ ├── campaignbanner.png
.......
│ └── strangerthings.png
├── html Storing the main index
│ └── index.html
└── server.py Main Server
-
Instructions on how to run my program:
cd [folder direction]
python3 server.py [port name between 8000-9000]
-
Snapshots of how web servers accessing my server:
-
References:
https://github.com/arseniyturin/python-webserver
https://drkbl.com/posts/socket-web-server-with-multithread-in-python/
https://www.positronx.io/create-socket-server-with-multiple-clients-in-python/
-
Notifications
You must be signed in to change notification settings - Fork 0
RegretfulWinter/SimpleHTTPWebServerPython
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published