human
I wrote the below code

    def _applier(request, **options):
        kwargs = (request.POST if (request.method == u'POST') else request.GET)
        kwargs = {k: v for (k, v) in items(kwargs)}
        if options:
            kwargs.update(options)
        result = task.apply_async(kwargs=kwargs)
        return JsonResponse({u'ok': u'true', u'task_id': result.task_id})
    return _applier

What's a good function header?

=====
Here's a good function header?
assistant
#Here's a good function header.

def task_view(task):