Rest server modeled after SimpleHTTPServer