@@ -0,0 +1,812 @@
+# -*- coding: utf-8 -*-%0A# content/doc/misc/_wsgi-app.py%0A# =============================================================================%0A# WSGI application template.%0A# Usage:%0A#     $ uwsgi --http :8765 --wsgi-file _wsgi-app.py%0A#     $ curl localhost:8765%0A# =============================================================================%0A# See for ref.: https://uwsgi-docs.readthedocs.io/en/latest/WSGIquickstart.html%0A#%0A%0ATXT = %22%5CnWSGI application template.%5Cn%22%0A%0ARSC_HTTP_200_OK    = %22200%22%0AHDR_CONTENT_TYPE_N = %22Content-Type%22%0AHDR_CONTENT_TYPE_V = %22text/plain%22%0A%0A# The application entry point.%0Adef application(env, resp):%0A    _env = str(env).encode()%0A    _txt = str(TXT).encode()%0A%0A    resp(RSC_HTTP_200_OK,%0A       %5B(HDR_CONTENT_TYPE_N,%0A         HDR_CONTENT_TYPE_V)%5D)%0A%0A    return %5B_env, _txt%5D%0A%0A# vim:set nu et ts=4 sw=4:%0A

Add WSGI app template to play with uWSGI server.