wsgi: Rework routing dict (again).
Remove special handling of first folder level. Generalise CAU/CAS context decision. Split functionalities further, making each method shorter. Factorise subpath checks. Factorise response generation when producing a body. The resulting data structure, if more verbose than the original one, is not harder to traverse and more extensible.
Showing
This diff is collapsed.
Please register or sign in to comment