QNetworkProxy: unset proxy
How to unset the proxy settings in python set by QNetworkProxy.开发者_运维知识库setApplicationProxy
?
Sultan.
To go back to the application defaults, use
QNetworkProxy.setApplicationProxy(QNetworkProxy(QNetworkProxy.DefaultProxy))
if you want to explicitly disable any proxy you can use QNetworkProxy.NoProxy
instead.
精彩评论