update site demo.

fix #1145
This commit is contained in:
benoitc 2015-11-25 17:48:59 +01:00
parent 3b1c9b4ff7
commit 79e14a98dd

View File

@ -83,7 +83,7 @@
(tutorial) $ cat myapp.py (tutorial) $ cat myapp.py
def app(environ, start_response): def app(environ, start_response):
data = "Hello, World!\n" data = b"Hello, World!\n"
start_response("200 OK", [ start_response("200 OK", [
("Content-Type", "text/plain"), ("Content-Type", "text/plain"),
("Content-Length", str(len(data))) ("Content-Length", str(len(data)))