mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-24 04:31:37 +03:00
c6347a6828
- explicitly for the output if --compressed has been set - implicitly for textual queries
8 lines
223 B
Python
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) |