We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 882fe79 commit 4c5106cCopy full SHA for 4c5106c
wsgi_example.py
@@ -0,0 +1,9 @@
1
+import fastwsgi
2
+
3
+def app(environ, start_response):
4
+ headers = [('Content-Type', 'text/plain')]
5
+ start_response('200 OK', headers)
6
+ return [b'Hello, World!']
7
8
+if __name__ == '__main__':
9
+ fastwsgi.run(wsgi_app=app, host='0.0.0.0', port=5000)
0 commit comments