[Interest] WebEngine proxy whitelist

Benjamin TERRIER b.terrier at gmail.com
Wed Mar 4 16:33:17 CET 2020


Hi,

Is there any way to set a whitelist of URLs for proxy in Qt WebEngine?

In Qt application this is done by implementing
QNetworkProxyFactory::queryProxy() and returning NoProxy based on the query
URL.

However, even if Qt WebEngine does use the application proxy it does not
call queryProxy() for each request. My understanding is that only some
specific proxy parameters (host, port, etc.) are copied to the chromium
network stack, making impossible to specify a different proxy for each
request.

Is there any other way to specify a list of URLs that should not use proxy
in Qt WebEngine?

Regards

Benjamin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20200304/8fba6870/attachment.html>


More information about the Interest mailing list