From 63a66ea82a4ccfce9b58fe2725d3c8d5ebf263a5 Mon Sep 17 00:00:00 2001 From: "roberto@natty32" Date: Thu, 7 Jul 2011 08:35:23 +0200 Subject: [PATCH] added an hello_world --- hello_world.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 hello_world.py diff --git a/hello_world.py b/hello_world.py new file mode 100644 index 00000000..9509c649 --- /dev/null +++ b/hello_world.py @@ -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 "

Hello World

"