def process_request(self, request):
        if PINNING_KEY in request.COOKIES:
            pinning.pin_thread()
Set the thread's pinning flag according to the presence of the cookie.
dataset/ETHPy150Open michaelhelmick/django-balancer/balancer/middleware.py/PinningCookieMiddleware.process_request