)
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"]: