code: def script_root(self):
          
          raw_path = wsgi_decoding_dance(
              self.environ.get("SCRIPT_NAME") or "", self.charset, self.encoding_errors
          )
          return raw_path.rstrip("/")
docs: The root path of the script without the trailing slash.