view contrib/tor2dns/serve @ 1104:5016f753b47a draft

this is a commit
author chisquare <chisquare@i2pmail.org>
date Tue, 16 Apr 2013 03:14:29 +0000 (2013-04-16)
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()