Some of the routes here use a trailing slash, such as /ws/healthz/, some don't, such as /ws/data/all. Since you are using flask, the redirect from /ws/healthz to /ws/healthz/ Just Works™, while not the other way around. Using routes with trailing slashes everywhere might be less confusing.
See the Unique URLs / Redirection Behavior in Flask Quickstart.
Some of the routes here use a trailing slash, such as
/ws/healthz/, some don't, such as/ws/data/all. Since you are using flask, the redirect from/ws/healthzto/ws/healthz/Just Works™, while not the other way around. Using routes with trailing slashes everywhere might be less confusing.See the Unique URLs / Redirection Behavior in Flask Quickstart.