Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 381 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 381 Bytes

http-server

A simple HTTP server in Python, written to learn about the HTTP protocol and networking. It lacks almost all the features seen in modern servers, but it can actually be used to serve files.

To use it simply inherit from server.BaseServer and implement the HTTP methods you need. See the StaticFileServer and Pastebin/PersistentPastebin classes for examples.