view contrib/tor2dns/serve @ 850:fd59bad51e25 draft

Merge branch 'master' of git://git.d3v11.ano
author pikaj00 <pikaj00@gmail.com>
date Tue, 20 Dec 2011 19:19:28 -0500
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()