356 html = html.replace("@H1@", self.tr("Authentication required")) |
356 html = html.replace("@H1@", self.tr("Authentication required")) |
357 html = html.replace("@LI-1@", self.tr("Authentication is required to access:")) |
357 html = html.replace("@LI-1@", self.tr("Authentication is required to access:")) |
358 html = html.replace("@LI-2@", '<a href="{0}">{0}</a>'.format(url.toString())) |
358 html = html.replace("@LI-2@", '<a href="{0}">{0}</a>'.format(url.toString())) |
359 page.setHtml(html, url) |
359 page.setHtml(html, url) |
360 |
360 |
361 def proxyAuthentication(self, requestUrl, auth, proxyHost): |
361 def proxyAuthentication(self, requestUrl, auth, proxyHost): # noqa: U100 |
362 """ |
362 """ |
363 Public slot to handle a proxy authentication request. |
363 Public slot to handle a proxy authentication request. |
364 |
364 |
365 @param requestUrl requested URL |
365 @param requestUrl requested URL |
366 @type QUrl |
366 @type QUrl |