view myrss/myrss_test_server.py @ 138:3bc6b79919dc

myrss2: FEEDS: Add Rest Of World; update Quillete; remove old feeds
author paulo
date Thu, 23 Mar 2023 07:52:22 +0000
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()