summaryrefslogtreecommitdiff
path: root/tests/cgiapp_data/ok.cgi
diff options
context:
space:
mode:
authorNils Philippsen <nils@redhat.com>2015-08-19 16:32:16 +0200
committerNils Philippsen <nils@redhat.com>2015-08-19 16:32:16 +0200
commitbe901601473bd3ba5826d86fb9912843a3517a07 (patch)
tree0d3ae1654e6901f23fce39da78b4ec21cf201562 /tests/cgiapp_data/ok.cgi
downloadpaste-git-be901601473bd3ba5826d86fb9912843a3517a07.tar.gz
Python 3: App must always return binary type.
Fixes tests.test_wsgiwrappers.test_wsgirequest_charset
Diffstat (limited to 'tests/cgiapp_data/ok.cgi')
-rwxr-xr-xtests/cgiapp_data/ok.cgi5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/cgiapp_data/ok.cgi b/tests/cgiapp_data/ok.cgi
new file mode 100755
index 0000000..d03f0b9
--- /dev/null
+++ b/tests/cgiapp_data/ok.cgi
@@ -0,0 +1,5 @@
+#!/usr/bin/env python
+print('Content-type: text/html; charset=UTF-8')
+print('Status: 200 Okay')
+print('')
+print('This is the body')