human
I wrote the below code

    def decorator(func):
        def inner(request, *args, **kwargs):
            if (request.method not in request_method_list):
                return HttpResponseNotAllowed(request_method_list)
            return func(request, *args, **kwargs)
        return inner
    return decorator

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

def require_http_methods(request_method_list):