diff --git a/testsite/playbooks/roles/wsgihello/files/hello.wsgi b/testsite/playbooks/roles/wsgihello/files/hello.wsgi index e58bf83e553fc9bd28660cdbe64415b48f28f47f..d284cda068c5ba655f6fe0e5886d37765f53907d 100644 --- a/testsite/playbooks/roles/wsgihello/files/hello.wsgi +++ b/testsite/playbooks/roles/wsgihello/files/hello.wsgi @@ -14,10 +14,12 @@ def application(environ, start_response):

Hello, world!

I am website {title}

+

Accept-Encoding header was set to {acceptencoding}

""" - output = template.format(title=os.environ.get("WEBSITE_NAME", "that nobody set a name for :(")) + output = template.format(title=os.environ.get("WEBSITE_NAME", "that nobody set a name for :("), + acceptencoding=environ.get("HTTP_ACCEPT_ENCODING")) response_headers = [('Content-type', 'text/html'), ('Content-Length', str(len(output)))]