Python http

From wikinotes

Python standard library for http servers, cookies, and low-level request tools.
You can also use it as a quick-and-dirty webserver on the commandline.

Documentation

http https://docs.python.org/3/library/http.html?highlight=http#module-http

CLI

python -m http.server -d src  # serve files in 'src' on localhost:8000