def METHOD_NAME(self, request, response, *args, **kwargs):
    response['X-UI-Max-Events'] = settings.MAX_UI_JOB_EVENTS
    return super(InventoryUpdateEventsList, self).METHOD_NAME(request, response, *args, **kwargs)