comparison pythonServer-legacy.py @ 1118:3edcbbea168b

Added schema for Test Specification Document for validation (wip)
author Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk>
date Wed, 23 Dec 2015 12:41:08 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 1118:3edcbbea168b
1 import SimpleHTTPServer
2 import SocketServer
3
4 PORT = 8080
5
6 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
7
8 httpd = SocketServer.TCPServer(("", PORT), Handler)
9
10 print "serving at port", PORT
11 httpd.serve_forever()