def process_response(self, request, response):
    end_recording(response.status_code)
    return response
Called by Django just before returning a response.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/recording.py/AppstatsDjangoMiddleware.process_response