Skip to content

Instantly share code, notes, and snippets.


hegaofeng hgfeaon

View GitHub Profile
hgfeaon /
Created Aug 30, 2017 — forked from bradmontgomery/
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.
./ [<port>]
Send a GET request::
curl http://localhost
You can’t perform that action at this time.