summaryrefslogtreecommitdiff
path: root/src/networkaccessmanager.cpp
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2010-08-31 12:02:27 +0200
committerAndrea Diamantini <adjam7@gmail.com>2010-08-31 12:02:27 +0200
commita3e57d0dfb6cbc45e8039820ecf8a4d8c90aa6ac (patch)
treee12709403638e52d42bbd521d1a60c5f26518f9b /src/networkaccessmanager.cpp
parentMissing operations (diff)
downloadrekonq-a3e57d0dfb6cbc45e8039820ecf8a4d8c90aa6ac.tar.xz
This works as wrokaround for KIO missing implementation in DELETE & CUSTOM
access manager operations It will be removed when we'll implement it in the right place. BUG: 249275
Diffstat (limited to 'src/networkaccessmanager.cpp')
-rw-r--r--src/networkaccessmanager.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/networkaccessmanager.cpp b/src/networkaccessmanager.cpp
index 9d9d052d..f746087a 100644
--- a/src/networkaccessmanager.cpp
+++ b/src/networkaccessmanager.cpp
@@ -104,16 +104,17 @@ QNetworkReply *NetworkAccessManager::createRequest(QNetworkAccessManager::Operat
break;
case QNetworkAccessManager::DeleteOperation:
+ kDebug() << "DELETE OPERATION...";
+ reply = QNetworkAccessManager::createRequest(op, req, outgoingData);
+ if(!reply)
+ kDebug() << "OOOOOOOOOOOOOOOOOOO DELETE REPLY NULL";
break;
case QNetworkAccessManager::CustomOperation:
-/* {
- kDebug() << "CUSTOM OPERATION...";
- QByteArray verb("*");
- reply = sendCustomRequest(req, verb, outgoingData);
- }
+ kDebug() << "CUSTOM OPERATION...";
+ reply = QNetworkAccessManager::createRequest(op, req, outgoingData);
if(!reply)
- kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL";*/
+ kDebug() << "OOOOOOOOOOOOOOOOOOO CUSTOM REPLY NULL";
break;
default: