mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-08-29 20:54:04 +00:00
7 lines
286 B
Python
7 lines
286 B
Python
import uwsgi
|
|
#uwsgi.cache_set('/', "HTTP/1.1 200 OK\r\nContent-Type: text/html\r\n\r\nHello World from cache")
|
|
def application(env, start_response):
|
|
start_response('200 OK', [('Content-Type', 'text/html')])
|
|
yield str(env['wsgi.input'].fileno())
|
|
yield "<h1>Hello World</h1>"
|