def __str__(self):
if self.data:
scheme = urlsplit(self.data,
allow_fragments=0)[0]
return _("The proxy URI '{uri}' uses the unsupported "
"scheme '{scheme}'. Currently the only supported "
"scheme is http://.").format(
uri=self.data, scheme=scheme)
return _("The specified proxy URI uses an unsupported scheme."
" Currently the only supported scheme is: http://.")
评论列表
文章目录