0f0c1da0bc38317c7d2e8f70759c347878c747e5,debug_toolbar/middleware.py,DebugToolbarMiddleware,process_response,#DebugToolbarMiddleware#Any#Any#,86

Before Change


                    )
                    response.cookies = cookies
        if response.status_code == 200:
            for panel in self.debug_toolbars[request].panels:
                panel.process_response(request, response)
            if response["Content-Type"].split("")[0] in _HTML_TYPES:
                response.content = replace_insensitive(

After Change


            panel.process_view(request, view_func, view_args, view_kwargs)

    def process_response(self, request, response):
        ident = thread.get_ident()
        toolbar = self.debug_toolbars.get(ident)
        if not toolbar:
            return
        if toolbar.config["INTERCEPT_REDIRECTS"]:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: jazzband/django-debug-toolbar
Commit Name: 0f0c1da0bc38317c7d2e8f70759c347878c747e5
Time: 2011-03-28
Author: dcramer@gmail.com
File Name: debug_toolbar/middleware.py
Class Name: DebugToolbarMiddleware
Method Name: process_response


Project Name: jazzband/django-debug-toolbar
Commit Name: 0f0c1da0bc38317c7d2e8f70759c347878c747e5
Time: 2011-03-28
Author: dcramer@gmail.com
File Name: debug_toolbar/middleware.py
Class Name: DebugToolbarMiddleware
Method Name: process_view


Project Name: jazzband/django-debug-toolbar
Commit Name: 0f0c1da0bc38317c7d2e8f70759c347878c747e5
Time: 2011-03-28
Author: dcramer@gmail.com
File Name: debug_toolbar/middleware.py
Class Name: DebugToolbarMiddleware
Method Name: process_request