view contrib/tor2dns/serve @ 991:8827368f49f0 draft

Merge branch 'master' of git://git1.srn.ano
author icann <icann@icann.ano>
date Sat, 25 Aug 2012 16:05:55 +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()