hurl/integration/tests/error_output_decompress.py
Fabrice Reix c6347a6828 Decompress response body
- explicitly for the output if --compressed has been set
- implicitly for textual queries
2020-10-15 08:44:21 +02:00

8 lines
223 B
Python

from tests import app
from flask import Response
@app.route("/error-output-decompress")
def error_output_decompress():
headers = {}
headers['Content-Encoding'] = 'gzip'
return Response('Hello', headers=headers)