code: def process_response(self, request, response):
          
          batcher = PrioritizedBatcher.global_instance()
          if batcher.is_started:
              # May not be started due to strange middleware behavior on first request.
              batcher.commit()
  
          return response
docs: Process a response.