src/eric7/WebBrowser/Network/NetworkManager.py

branch
eric7
changeset 10069
435cc5875135
parent 9686
2eee7a645cba
child 10331
c1a2ff7e3575
equal deleted inserted replaced
10068:7febcdccb2a1 10069:435cc5875135
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

eric ide

mercurial