we are using QtWebKit 4.7 and want to know when a frame load does a redirect.
At the moment we are counting the outgoing requests within a subclass of the QNetworkAccessManager, where we do overwrite createRequest.
This works in most cases fine, but when the first response is 301 or 302 (redirect), it is swallowed somewhere.
We simply request a url the following way:
QNetworkRequest request(QUrl("http://www.twitter.com")); // 301 to twitter.com
frame->load(request);