From cde18e861455aa8a5556c6298a0b32ff503e37d6 Mon Sep 17 00:00:00 2001 From: Corder Guy Date: Fri, 6 Apr 2018 00:56:43 -0500 Subject: [PATCH] add debug statement --- mocha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mocha.py b/mocha.py index 4d0e275..a0169ed 100644 --- a/mocha.py +++ b/mocha.py @@ -2,7 +2,7 @@ import sys def application(environ, start_response): status = '200 OK' - output = b'Sup, y\'all.\n' + output = str(environ).encode('UTF-8') response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))]