hurl/integration/tests/error_assert_decompressed.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-assert-decompress")
def error_assert_decompress():
headers = {}
headers['Content-Encoding'] = 'gzip'
return Response('Hello', headers=headers)