summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/kolab_files/lib/kolab_files_engine.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/kolab_files/lib/kolab_files_engine.php b/plugins/kolab_files/lib/kolab_files_engine.php
index fc14e80..67905b0 100644
--- a/plugins/kolab_files/lib/kolab_files_engine.php
+++ b/plugins/kolab_files/lib/kolab_files_engine.php
@@ -610,6 +610,9 @@ class kolab_files_engine
$this->request->setUrl($url);
}
+ // some HTTP server configurations require this header
+ $this->request->setHeader('accept', "application/json,text/javascript,*/*");
+
return $this->request;
}