1. victorlin
  2. just_for_tutorial_repo

Commits

victorlin  committed c16e3ad

Use hello baby as response in the WSGI app.

  • Participants
  • Parent commits ddbc1d9
  • Branches default

Comments (0)

Files changed (1)

File hello.py

View file
  • Ignore whitespace
 
     start_response(status, headers)
 
-    ret = ["%s: %s\n" % (key, value)
-           for key, value in environ.iteritems()]
-    return ret
+    return ['Hello baby!'] * 1000
 
 httpd = make_server('', 8000, simple_app)
 print "Serving on port 8000..."