view contrib/tor2dns/serve @ 776:cc3ed3f29ec7 draft

updated README
author d3v11 <d3v11@d3v11.ano>
date Fri, 25 Nov 2011 23:40:28 +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()