💭 Flask Trailing Slashes 404

!https://stackoverflow.com/questions/33241050/trailing-slash-triggers-404-in-flask-path-rule

Trailing slash triggers 404 in Flask path rule
I want to redirect any path under /users to a static app. The following view should capture these paths and serve the appropriate file (it just prints the path for this example). This works for /...
Stack Overflow · stackoverflow.com

In flask apps I often get a 404 for routes with a trailing slash. This Stack Overflow post shows how to configure flask to allow trailing slashes on some or all routes.

Note

This post is a thought. It’s a short note that I make about someone else’s content online #thoughts

Connections

Related tags and posts connected to this entry.