##// END OF EJS Templates
tests: make sure echo_app returns proper content type
marcink -
r246:222276bd default
parent child Browse files
Show More
@@ -21,7 +21,7 b' class EchoApp(object):'
21 log.debug("Content-Length: %s", environ.get('CONTENT_LENGTH'))
21 log.debug("Content-Length: %s", environ.get('CONTENT_LENGTH'))
22 environ['wsgi.input'].read()
22 environ['wsgi.input'].read()
23 status = '200 OK'
23 status = '200 OK'
24 headers = []
24 headers = [('Content-Type', 'text/plain')]
25 start_response(status, headers)
25 start_response(status, headers)
26 return ["ECHO"]
26 return ["ECHO"]
27
27
General Comments 0
You need to be logged in to leave comments. Login now