Mercurial > hg > anonet-resdb
view contrib/tor2dns/serve @ 1161:7ee50aaec5e4 draft
Aded a little documentation for newbies, that explain a litle bit how resdb is structured.
author | Query <nobody@space> |
---|---|
date | Mon, 10 Mar 2014 12:49:48 +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()