view contrib/tor2dns/serve @ 841:1f04a2c3e601 draft

Merge branch 'master' of git://git1.somerandomnick.ano/
author gain <gain@notaplace.ano>
date Mon, 19 Dec 2011 14:03:24 -0700
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()