view contrib/tor2dns/serve @ 817:3a89ce26d425 draft

Merge commit '2a1b9efce060c4cc954785d55e0c00b0556898b1'
author Nick <nick@somerandomnick.ano>
date Wed, 07 Dec 2011 12:50: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()