mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-11-23 09:44:22 +03:00
14 lines
268 B
Python
14 lines
268 B
Python
from app import app
|
|
from flask import make_response, request
|
|
from io import BytesIO
|
|
|
|
|
|
@app.route("/non-utf8")
|
|
def non_utf8():
|
|
|
|
result = BytesIO()
|
|
result.write(b"\x41\x0a\xe9\x0a\xaa")
|
|
data = result.getvalue()
|
|
resp = make_response(data)
|
|
return resp
|