added an hello_world

This commit is contained in:
roberto@natty32
2011-07-07 08:35:23 +02:00
parent 6f155ebf17
commit 63a66ea82a
+5
View File
@@ -0,0 +1,5 @@
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')])
return "<h1>Hello World</h1>"