From 1b7cf1f3d00adbbcd17890f1475c2c36f75c3f68 Mon Sep 17 00:00:00 2001 From: Andrei Zeliankou Date: Tue, 21 Feb 2023 15:35:38 +0000 Subject: Tests: added Python tests with encoding. --- test/python/encoding/wsgi.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/python/encoding/wsgi.py (limited to 'test/python/encoding') 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 [] -- cgit