Python SimpleHTTPServer for testing

Posted on Wednesday, February 17, 2016

The other day I had a
need to set up a very simple web server just so I could easily see the header
information it was getting.

Ideally I just wanted a simple
command line tool I could use. So that I
could bring it up quickly and watch it from the command line as Header … etc
information scrolled by. I just needed
something for local testing.

While poking around I
found this SimpleHTTPServer. You can
run this from the command line.