Commit edb0b688 authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #9 in ZO/z-push from...

Merge pull request #9 in ZO/z-push from bugfix/ZO-39-z-push-add-capabilities-header-on-settings to develop

* commit '3dad2f4d':
  ZO-39 Add capabilities and gab-folder headers.
parents f1288f64 3dad2f4d
......@@ -55,6 +55,14 @@ class Settings extends RequestProcessor {
if (!self::$decoder->getElementStartTag(SYNC_SETTINGS_SETTINGS))
return false;
// add capability header for OL client
if(self::$deviceManager->IsOutlookClient()) {
self::$specialHeaders = array();
// TODO these values need to be configurable, ZO-41
self::$specialHeaders[] = "X-Push-Capabilities: gab,receiveflags,sendflags,oof,recover";
self::$specialHeaders[] = "X-Push-GAB-Name: Z-Push-OL-GAB-Acacia";
}
//save the request parameters
$request = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment