Flask route without trailing slash returns 404 when slash is appended — how should both variants be handled?
I am defining URL rules in a Flask application using the standard Werkzeug-based routing system. I noticed that the behavior differs depending on whether the route decorator includes a trailing slash: a route defined as /about/ redirects requests for /about to the slashed version, while a route defined as /about returns a 404 when /about/ is requested. My go