view contrib/tor2dns/serve @ 1126:418e82d1192e draft

added yusyus's stuff
author yusyus <nobody@nowhere>
date Thu, 18 Jul 2013 19:21:11 +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()