summaryrefslogtreecommitdiff
path: root/tests/environ.wsgi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/environ.wsgi')
-rw-r--r--tests/environ.wsgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/environ.wsgi b/tests/environ.wsgi
index 6ee1723..c26eae7 100644
--- a/tests/environ.wsgi
+++ b/tests/environ.wsgi
@@ -13,7 +13,7 @@ import apache
def application(environ, start_response):
headers = []
- headers.append(('Content-Type', 'text/plain'))
+ headers.append(('Content-Type', 'text/plain; charset="UTF-8"'))
write = start_response('200 OK', headers)
input = environ['wsgi.input']
@@ -24,6 +24,7 @@ def application(environ, start_response):
print('GID: %s' % os.getgid(), file=output)
print(file=output)
+ print('python.version: %r' % (sys.version,), file=output)
print('apache.version: %r' % (apache.version,), file=output)
print('mod_wsgi.version: %r' % (mod_wsgi.version,), file=output)
print(file=output)