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)))]