Mercurial > hg > webaudioevaluationtool
view pythonServer-legacy.py @ 1387:f2b00d070255
Python server ignores GET in URL
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Mon, 21 Dec 2015 13:01:01 +0000 |
parents | 345974f8794a |
children |
line wrap: on
line source
import SimpleHTTPServer import SocketServer PORT = 8080 Handler = SimpleHTTPServer.SimpleHTTPRequestHandler httpd = SocketServer.TCPServer(("", PORT), Handler) print "serving at port", PORT httpd.serve_forever()