Is there an easy way to detect if it is a worker making a request vs an http request?
cmd_options = request.global_settings.cmd_optionsif cmd_options and cmd_options.scheduler:
[this is a worker running a scheduled task]
if request.is_scheduler: