diff options
author | Nils Philippsen <nils@redhat.com> | 2015-08-19 16:32:16 +0200 |
---|---|---|
committer | Nils Philippsen <nils@redhat.com> | 2015-08-19 16:32:16 +0200 |
commit | be901601473bd3ba5826d86fb9912843a3517a07 (patch) | |
tree | 0d3ae1654e6901f23fce39da78b4ec21cf201562 /tests/cgiapp_data/ok.cgi | |
download | paste-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-x | tests/cgiapp_data/ok.cgi | 5 |
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') |