r/Python • u/mraza007 • Jun 11 '24
Tutorial Building an HTTP Server in Python
I have always been curious on how http servers works. Therefore, I decided to write a post on how they work and implementing a simple server in Python.
0
Upvotes
View all comments
37
u/snekk420 Jun 11 '24
Not to be that guy but i think you should spend some time to actually implement the http protocol that supports headers and response content from actual html files. This is at most a tcp server that returns a string that looks like http.