view contrib/tor2dns/serve @ 1127:3bbc40562b66 draft

Krane
author ntma <nobody@nowhere>
date Fri, 02 Aug 2013 20:06:35 +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()