You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
318 B

#!/usr/bin/env python
from wsgiref.validate import validator
from wsgiref.simple_server import make_server
import DNSLG
port = 8080
querier = DNSLG.Querier()
validator_app = validator(querier.application)
httpd = make_server('', port, validator_app)
print "Listening on port %i...." % port
httpd.serve_forever()