From 1b5c9591857f3607a197d71d7899970dbe62e676 Mon Sep 17 00:00:00 2001 From: Corder Guy Date: Fri, 6 Apr 2018 00:58:14 -0500 Subject: [PATCH] refining debugging --- mocha.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mocha.py b/mocha.py index a0169ed..f82fbe6 100644 --- a/mocha.py +++ b/mocha.py @@ -2,7 +2,7 @@ import sys def application(environ, start_response): status = '200 OK' - output = str(environ).encode('UTF-8') + output = str(environ['REQUEST_URI']).encode('UTF-8') response_headers = [('Content-type', 'text/plain'), ('Content-Length', str(len(output)))]