mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-27 16:26:40 +03:00
15 lines
276 B
Python
15 lines
276 B
Python
from tests import app
|
|
from flask import make_response
|
|
from io import BytesIO
|
|
|
|
|
|
@app.route('/error-assert/match-utf8')
|
|
def error_assert_match_utf8():
|
|
result = BytesIO()
|
|
result.write(b'\xff')
|
|
data = result.getvalue()
|
|
resp = make_response(data)
|
|
return resp
|
|
|
|
|