diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2009-12-06 23:36:15 +0100 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2009-12-06 23:36:15 +0100 |
commit | eaa82c1922c7cc133458c65ecbe8eb2ab6adc03d (patch) | |
tree | b8954514b5d8bd0205bc0b8798de2bef2c7e751e /src/networkaccessmanager.cpp | |
parent | kde wallet integration. (diff) | |
download | rekonq-eaa82c1922c7cc133458c65ecbe8eb2ab6adc03d.tar.xz |
KWebWallet integration
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r-- | src/networkaccessmanager.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp index a2c1fdee..1f8b8281 100644 --- a/src/networkaccessmanager.cpp +++ b/src/networkaccessmanager.cpp @@ -31,7 +31,7 @@ // Local Includes #include "application.h" #include "adblockmanager.h" - +#include <KDebug> NetworkAccessManager::NetworkAccessManager(QObject *parent) : AccessManager(parent) @@ -41,6 +41,14 @@ NetworkAccessManager::NetworkAccessManager(QObject *parent) QNetworkReply *NetworkAccessManager::createRequest(Operation op, const QNetworkRequest &req, QIODevice *outgoingData) { + if (op == PostOperation && outgoingData) + { + QByteArray outgoingDataByteArray = outgoingData->peek(1024 * 1024); + kDebug() << "*************************************************************************"; + kDebug() << outgoingDataByteArray; + kDebug() << "*************************************************************************"; + } + QNetworkRequest request(req); request.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true); |