[Pkg-owncloud-commits] [owncloud-client] 273/470: NotificationJobs: Set ocs header to maintain the session.

Sandro Knauß hefee-guest at moszumanska.debian.org
Thu May 12 16:25:13 UTC 2016


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 9bdc84c6f4436a7ccde3d04c6c8abc43e8f4370d
Author: Klaas Freitag <freitag at owncloud.com>
Date:   Tue Apr 5 16:52:51 2016 +0200

    NotificationJobs: Set ocs header to maintain the session.
    
    This is needed by the server.
---
 src/gui/notificationconfirmjob.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gui/notificationconfirmjob.cpp b/src/gui/notificationconfirmjob.cpp
index 84959e7..6e7e168 100644
--- a/src/gui/notificationconfirmjob.cpp
+++ b/src/gui/notificationconfirmjob.cpp
@@ -50,6 +50,7 @@ void NotificationConfirmJob::start()
         return;
     }
     QNetworkRequest req;
+    req.setRawHeader("Ocs-APIREQUEST", "true");
     req.setRawHeader("Content-Type", "application/x-www-form-urlencoded");
 
     QIODevice *iodevice = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list