Mercurial > hg > anonet-resdb
view contrib/tor2dns/serve @ 1063:2847a9ff2e6b draft
woot
author | icann <icann@icann.ano> |
---|---|
date | Mon, 12 Nov 2012 06:28:48 +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()