Permalink
Browse files

Fix WSGI hello world code

  • Loading branch information...
1 parent 8a99c0e commit 8a0ec9eb057778bcd21981da925548e9ea893286 @FooBarWidget FooBarWidget committed Oct 30, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 doc/Users guide Apache.txt
  2. +1 −1 doc/Users guide Nginx.txt
@@ -720,7 +720,7 @@ $ some_awesome_editor passenger_wsgi.py
...type in some source code...
$ cat passenger_wsgi.py
def application(environ, start_response):
- start_response(200, [('Content-Type', 'text/plain')])
+ start_response('200 OK', [('Content-Type', 'text/plain')])
return ["hello world!\n"]
-------------------------------------------
@@ -606,7 +606,7 @@ $ some_awesome_editor passenger_wsgi.py
...type in some source code...
$ cat passenger_wsgi.py
def application(environ, start_response):
- start_response(200, [('Content-Type', 'text/plain')])
+ start_response('200 OK', [('Content-Type', 'text/plain')])
return ["hello world!\n"]
-------------------------------------------

0 comments on commit 8a0ec9e

Please sign in to comment.