Config handler¶
Configs Handler
Module realizes configs handler.
- class luna_tasks.crutches_on_wheels.web.configs_handler.ConfigsHandler(request)[source]¶
Handler for getting actual service configuration
- property app: luna_tasks.crutches_on_wheels.web.application.LunaApplication¶
Get application :returns: running application
- Return type
LunaApplication
- property config¶
Get running application config :returns: running application config
- async get()[source]¶
Get service configuration, see get_config.
Resource is reached by address ‘/config’
- Raises
VLException(Error.UnsupportedMediaType, 415, isCriticalError=False), if "Accept" header is incorrect –
- Return type
HTTPResponse