Configuration Router
Configuration management endpoints.
configuration
Attributes
LAST_MODIFIED_FORMAT = '%a, %d %b %Y %H:%M:%S GMT'
module-attribute
router = DiracxRouter()
module-attribute
Classes
Functions
serve_config(config, response, if_none_match=None, if_modified_since=None)
async
Get the latest view of the config.
If If-None-Match header is given and matches the latest ETag, return 304
If If-Modified-Since is given and is newer than latest, return 304: this is to avoid flip/flopping