def get_token(request):
    request.META["CSRF_COOKIE_USED"] = True
    return request.META.get("CSRF_COOKIE", None)
Common code for GET and HEAD commands.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.5/django/middleware/csrf.py/get_token--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/http/server.py/SimpleHTTPRequestHandler.send_head