[Checkins] SVN: zope.server/trunk/src/zope/server/http/tests/wsgi_app.py Add a bit more info to the test WSGI app

Philipp von Weitershausen philikon at philikon.de
Sat Jun 2 14:28:59 EDT 2007


Log message for revision 76163:
  Add a bit more info to the test WSGI app
  

Changed:
  U   zope.server/trunk/src/zope/server/http/tests/wsgi_app.py

-=-
Modified: zope.server/trunk/src/zope/server/http/tests/wsgi_app.py
===================================================================
--- zope.server/trunk/src/zope/server/http/tests/wsgi_app.py	2007-06-02 18:26:38 UTC (rev 76162)
+++ zope.server/trunk/src/zope/server/http/tests/wsgi_app.py	2007-06-02 18:28:59 UTC (rev 76163)
@@ -4,8 +4,8 @@
     status = '200 OK'
     response_headers = [('Content-type', 'text/plain')]
     start_response(status, response_headers)
-    return ['Hello world!\n']
+    return ["Hello world! zope.server is delivering WSGI v%s.%s using %s."
+            % (environ['wsgi.version'] + (environ['wsgi.url_scheme'],))]
 
 def test_app_factory(global_config, **local_config):
     return test_app
-



More information about the Checkins mailing list