'The initial portion of the URL\'s `path` that was removed by a higher
level (server or routing middleware) before the application was
called. This script path is returned with leading and tailing
slashes.'

@property
def script_name(self):

    script_name = self.environ.get('SCRIPT_NAME', '').strip('/')
    return ((('/' + script_name) + '/') if script_name else '/')
