diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-04-05 16:25:52 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-04-07 21:25:23 +0200 |
commit | 869f61b3055ac91dd0ee4c3167872d881b365dc9 (patch) | |
tree | 0b949439eea0adff5bfbbd1492260243381c0062 /src | |
parent | Fixed Webkit settings, removing tools actions (no use case in settings, for me) (diff) | |
download | rekonq-869f61b3055ac91dd0ee4c3167872d881b365dc9.tar.xz |
Added warning to debug navigation requests..
Diffstat (limited to 'src')
-rw-r--r-- | src/webview.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/webview.cpp b/src/webview.cpp index 4cb146f6..f0df89db 100644 --- a/src/webview.cpp +++ b/src/webview.cpp @@ -87,6 +87,15 @@ bool WebPage::acceptNavigationRequest(QWebFrame *frame, const QNetworkRequest &r WebView *webView; + kWarning() << "HttpStatusCodeAttribute " << request.attribute(QNetworkRequest::HttpStatusCodeAttribute, QVariant(QVariant::Int)); + kWarning() << "HttpReasonPhraseAttribute " << request.attribute(QNetworkRequest::HttpReasonPhraseAttribute, QVariant(QVariant::ByteArray)); + kWarning() << "RedirectionTargetAttribute " << request.attribute(QNetworkRequest::RedirectionTargetAttribute, QVariant(QVariant::Url)); + kWarning() << "ConnectionEncryptedAttribute " << request.attribute(QNetworkRequest::ConnectionEncryptedAttribute, QVariant(QVariant::Bool)); + kWarning() << "CacheLoadControlAttribute " << request.attribute(QNetworkRequest::CacheLoadControlAttribute, QVariant(QVariant::Int)); + kWarning() << "CacheSaveControlAttribute " << request.attribute(QNetworkRequest::CacheSaveControlAttribute, QVariant(QVariant::Bool)); + kWarning() << "SourceIsFromCacheAttribute " << request.attribute(QNetworkRequest::SourceIsFromCacheAttribute, QVariant(QVariant::Bool)); + kWarning() << "------------------------------------------------------------------"; + switch(type) { |