def userscript(request):
    response = HttpResponse(
        get_userscript_code(request),
        mimetype='application/javascript'
    )
    response['Content-Disposition'] = 'attachment; filename="monkey-team-%s.user.js"' % get_client_key()
    return response
dataset/ETHPy150Open ionelmc/django-monkey-team/src/monkey_team/views.py/userscript/original