summaryrefslogtreecommitdiffhomepage
path: root/test/python/encoding
diff options
context:
space:
mode:
Diffstat (limited to 'test/python/encoding')
-rw-r--r--test/python/encoding/wsgi.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/python/encoding/wsgi.py b/test/python/encoding/wsgi.py
new file mode 100644
index 00000000..0a916a9b
--- /dev/null
+++ b/test/python/encoding/wsgi.py
@@ -0,0 +1,12 @@
+import sys
+
+
+def application(environ, start_response):
+ start_response(
+ '200',
+ [
+ ('Content-Length', '0'),
+ ('X-Encoding', sys.getfilesystemencoding()),
+ ],
+ )
+ return []