def script_name(self):  # noqa: D401; irrelevant for properties
        """The URI "mount point" for this app.

        A mount point is that portion of the URI which is constant for
        all URIs that are serviced by this application; it does not
        include scheme, host, or proxy ("virtual host") portions of the
        URI.

        For example, if script_name is "/my/cool/app", then the URL "

        http://www.example.com/my/cool/app/page1"
        might be handled by a
        "page1" method on the root object.

        The value of script_name MUST NOT end in a slash. If the script_name
        refers to the root of the URI, it MUST be an empty string (not "/").

        If script_name is explicitly set to None, then the script_name will be
        provided for each call from request.wsgi_environ['SCRIPT_NAME'].
        """
        if self._script_name is not None:
            return self._script_name

        # A `_script_name` with a value of None signals that the script name
        # should be pulled from WSGI environ.
        return cherrypy.serving.request.wsgi_environ['SCRIPT_NAME'].rstrip('/')
The URI "mount point" for this app.

        A mount point is that portion of the URI which is constant for
        all URIs that are serviced by this application; it does not
        include scheme, host, or proxy ("virtual host") portions of the
        URI.

        For example, if script_name is "/my/cool/app", then the URL "

        http://www.example.com/my/cool/app/page1"
        might be handled by a
        "page1" method on the root object.

        The value of script_name MUST NOT end in a slash. If the script_name
        refers to the root of the URI, it MUST be an empty string (not "/").

        If script_name is explicitly set to None, then the script_name will be
        provided for each call from request.wsgi_environ['SCRIPT_NAME'].
        
cherrypy/_cptree.py