view contrib/tor2dns/serve @ 1036:c34a9fca2a1d draft

[db/dom/ano/icann/ns/a.ns.icann.ano] icann.ano
author icann <icann@icann.ano>
date Mon, 15 Oct 2012 00:09:07 +0000
parents 5c86c4e82b4c
children
line wrap: on
line source

#!/usr/bin/python
import SimpleHTTPServer
import SocketServer

PORT = 8053

Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
httpd = SocketServer.TCPServer(("", PORT), Handler)
httpd.serve_forever()