Mercurial > hg > anonet-resdb
view contrib/tor2dns/serve @ 851:ac62c140366b draft
Merge branch 'master' of git://git1.srn.ano
author | pikaj00 <pikaj00@gmail.com> |
---|---|
date | Tue, 27 Dec 2011 14:39:14 -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()