diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-01-27 13:54:13 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-01-31 14:31:44 +0300 |
commit | 5922ca1c61d0285002ab8e1d1614142c49af7f37 (patch) | |
tree | d52e71916d83b29efb1bac087eb3df7dc72ebef6 /src/gui/notificationconfirmjob.cpp | |
parent | 4a3fa1f09531213ba72e3ff087972e96c1dc5300 (diff) |
Refactor JsonApiJob and allow non ownCloud json jobs
Diffstat (limited to 'src/gui/notificationconfirmjob.cpp')
-rw-r--r-- | src/gui/notificationconfirmjob.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/notificationconfirmjob.cpp b/src/gui/notificationconfirmjob.cpp index 237353fb0..9b54e742e 100644 --- a/src/gui/notificationconfirmjob.cpp +++ b/src/gui/notificationconfirmjob.cpp @@ -53,6 +53,7 @@ void NotificationConfirmJob::start() } QNetworkRequest req; req.setRawHeader("Ocs-APIREQUEST", "true"); + // TODO: json job req.setRawHeader("Content-Type", "application/x-www-form-urlencoded"); sendRequest(_verb, _link, req); |