开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜