mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 20:12:14 +03:00
12 lines
275 B
Python
12 lines
275 B
Python
from tests import app
|
|
from flask import make_response
|
|
from io import BytesIO
|
|
|
|
@app.route("/error-query-invalid-utf8")
|
|
def error_query_invalid_utf8():
|
|
result = BytesIO()
|
|
result.write(b'\xff')
|
|
data = result.getvalue()
|
|
resp = make_response(data)
|
|
return resp
|