Skip to content

Instantly share code, notes, and snippets.

bradmontgomery /
Last active Sep 28, 2020
a minimal http server in python. Responds to GET, HEAD, POST requests, but will fail on anything else.
#!/usr/bin/env python
Very simple HTTP server in python (Updated for Python 3.7)
./ -h
./ -l localhost -p 8000
Send a GET request:
You can’t perform that action at this time.