# HG changeset patch # User Marcin Kuzminski # Date 2017-07-13 07:46:21 # Node ID 222276bd808c8c5196577decd3666a745ac68104 # Parent 9b6cd51daaee6b040a47638ccdd7d80aca8dfcb2 tests: make sure echo_app returns proper content type diff --git a/vcsserver/echo_stub/echo_app.py b/vcsserver/echo_stub/echo_app.py --- a/vcsserver/echo_stub/echo_app.py +++ b/vcsserver/echo_stub/echo_app.py @@ -21,7 +21,7 @@ class EchoApp(object): log.debug("Content-Length: %s", environ.get('CONTENT_LENGTH')) environ['wsgi.input'].read() status = '200 OK' - headers = [] + headers = [('Content-Type', 'text/plain')] start_response(status, headers) return ["ECHO"]