I think it's better to post some real code that highlights the problem, but keep it short...
Helge On Tue, Dec 15, 2009 at 12:09 PM, Serg_HD <[email protected]> wrote: > Hi, > I don't want to cache concrete image on website page (using many qwebview > for one site). For this I overload QNetworkAccessManager's method > createRequest(), make condition for my image (if (myReq.url() == myUrl) then > not apply > cache), and try in this condition: > 1) myReq.setRawHeader( new QByteArray("Cache-Control"), new > QByteArray("no-cache") ); //not work, > 2) myReq.setRawHeader( new QByteArray("If-Modified-Since""), new > QByteArray(myTime) ); //not work > 3) myReq.setUrl(new QUrl(url2 + "&x=" + rand.nextInt(1000000))); //not work > too, url becomes really other, but however > image in cache. > > How I must abolish cash for document (in my case - image)? Thanks. > _______________________________________________ > Qt-jambi-interest mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest >
_______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
