mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-08-28 09:27:03 +00:00
12 lines
259 B
Python
12 lines
259 B
Python
import uwsgi
|
|
|
|
uwsgi.log("I am uWSGI %s" % uwsgi.version)
|
|
|
|
def application(env, start_response):
|
|
start_response('200 OK', [('Content-Type','text/html')])
|
|
uwsgi.log(str(env))
|
|
|
|
if env['PATH_INFO'] == '/logme':
|
|
uwsgi.log_this_request()
|
|
return "log written"
|