Mercurial > hg > webaudioevaluationtool
comparison pythonServer-legacy.py @ 1450:bc074d4ee760
Resolved #1394: Python returns same XML responses as the PHP server
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Fri, 27 Nov 2015 12:09:49 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 1450:bc074d4ee760 |
---|---|
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() |