i need to remove the end of line characters from incoming requests in flask. If the route is https://localhost/test\r\n I need to remove \r\n. This is due to an issue from a oher program, that is alwas sending these. So is there a way to make this neater?
@app.route("/test")
@app.route("/test\r\n")
def test():
return "TEST"
Thanks in advance