comparison index_test_server.py @ 51:bf8c59873212

add theverge.com, update thebrowser.com in myrss/FEEDS
author paulo
date Sat, 30 Mar 2013 01:42:33 -0600
parents
children 0fbe37b56e84
comparison
equal deleted inserted replaced
-1:000000000000 0:8994de8d3829
1 import wsgiref.simple_server
2 import SocketServer
3
4 import index_app
5
6
7 class ThreadingWSGIServer(SocketServer.ThreadingMixIn, wsgiref.simple_server.WSGIServer):
8 pass
9
10
11 if __name__ == "__main__":
12 httpd = ThreadingWSGIServer(('', 8000), wsgiref.simple_server.WSGIRequestHandler)
13 httpd.set_app(index_app.app)
14 httpd.serve_forever()