docs: def _call_next(self, handler_chain):
          """
          Generates an express-like chain for handling requests.
  
          :param handler_chain: The current chain of handlers
          """
  
          def wrapped(*args, **kwargs):
              if len(handler_chain) == 1:
                  return handler_chain[0](*args, **kwargs)
              else:
                  return handler_chain[0](self._call_next(handler_chain[1:]),
                                          *args, **kwargs)
  
          return wrapped