view contrib/tor2dns/serve @ 775:5c86c4e82b4c draft

updated my software to resdb
author d3v11 <d3v11@d3v11.ano>
date Fri, 25 Nov 2011 23:21:28 +0000
parents
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()