Mercurial > hg > index.fcgi > www > www-1
view myrss/myrss_test_server.py @ 113:4d3f845c4ef2
cs: update cookies.js, set domain and secure cookie parameters
author | paulo |
---|---|
date | Mon, 03 Aug 2020 01:45:23 -0600 |
parents | a1456ecd25b9 |
children |
line source
1 import wsgiref.simple_server
2 import SocketServer
4 import myrss_app
7 class ThreadingWSGIServer(SocketServer.ThreadingMixIn, wsgiref.simple_server.WSGIServer):
8 pass
11 if __name__ == "__main__":
12 httpd = ThreadingWSGIServer(('', 8000), wsgiref.simple_server.WSGIRequestHandler)
13 httpd.set_app(myrss_app.MyRssApp())
14 httpd.serve_forever()