Как используя QNetworkDiskCache реализовать сохранение картинок с атрибутом "no-cache" ?
PyQt 4.8.6
Python: 2.7
OS: WinXP 32bit
Python
# coding: utf-8
import os,sys
from PyQt4.QtNetwork import *
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
app = QApplication(sys.argv)
manager = QNetworkAccessManager()
diskCache = QNetworkDiskCache()
diskCache.setCacheDirectory(os.path.join(os.getcwd(),"cache"))
manager.setCache(diskCache)
view = QWebView()
webpage = QWebPage()
view.setPage(webpage)
webpage.setNetworkAccessManager(manager)
url = "http://acmacolvia.info/img.php"
view.load(QUrl(url))
view.show()
app.exec_()
sys.exit()