-
Notifications
You must be signed in to change notification settings - Fork 15
Inithooks Common Domain Handling Code #1112
Copy link
Copy link
Open
Description
At the moment when domain-specific functionality, like ensuring a scheme is set (http/https) is performed (during inithooks), each inithooks is responsible for how it occures, and because inithooks are maintained by people of varing familiarity with python, specific web apps, general good practice, etc. Many of these inithooks perform the exact same tasks in different ways, not only is this confusing for a new developer but this makes it much easier for bugs to slip into inithooks and makes it much harder to find and debug these issues.
Providing some more common inithooks code to deal with domains and quite possibly other duplicated inithooks code would help with maintainance and increase consistency
Reactions are currently unavailable