Very simple decorator for python's SimpleHTTPServer which implements BaseHTTPServer in Python.