code: def rewrite_url(self, url_info: URLInfo) -> URLInfo:
          '''Return a rewritten URL such as escaped fragment.'''
          if self._url_rewriter:
              return self._url_rewriter.rewrite(url_info)
          else:
              return url_inff rewrite_url(self, url_info: URLInfo) -> URLInfo:
          '''Return a rewritten URL such as escaped fragment.'''
          if self._url_rewriter:
              return self._url_rewriter.rewrite(url_info)
          else:
              return url_info
docs: Return a rewritten URL such as escaped fragment.