view contrib/tor2dns/serve @ 904:10a4ea42b757 draft

bugfixes
author d3v11 <d3v11@d3v11.ano>
date Sun, 29 Jan 2012 01:18:19 +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()