def process_view(self, request, view_func, view_args, view_kwargs):
        if request.GET.has_key('src'):      # This is a QueryDict, so src can be multiple GET params
            url_params = request.GET.copy() # Immutable
            sources = url_params.pop('src')
            new_qs = url_params.urlencode()
            redirect = HttpResponseRedirect('%s?%s' % (request.path, new_qs))
            redirect.set_cookie(SOURCE_COOKIE, request.GET.urlencode())
            return redirect
        return None
dataset/ETHPy150Open jumoconnect/openjumo/jumodjango/etc/middleware.py/SourceTagCollectionMiddleware.process_view/original