[Pkg-owncloud-commits] [php-sabredav] 31/33: Fixes Issue 35

David Prévot taffit at moszumanska.debian.org
Sat Nov 30 15:43:56 UTC 2013


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

taffit pushed a commit to tag version-1.0.10
in repository php-sabredav.

commit 8a865d88a5d73d18584b4ad048991866177e84bb
Author: Evert Pot <evert at rooftopsolutions.nl>
Date:   Mon Mar 22 23:15:06 2010 +0900

    Fixes Issue 35
    
    Added Version to OPTIONS response
---
 lib/Sabre/DAV/Server.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/Sabre/DAV/Server.php b/lib/Sabre/DAV/Server.php
index 2ade1d2..fde3875 100644
--- a/lib/Sabre/DAV/Server.php
+++ b/lib/Sabre/DAV/Server.php
@@ -272,6 +272,7 @@ class Sabre_DAV_Server {
         $this->httpResponse->setHeader('DAV',implode(', ',$features));
         $this->httpResponse->setHeader('MS-Author-Via','DAV');
         $this->httpResponse->setHeader('Accept-Ranges','bytes');
+        $this->httpResponse->setHeader('X-Sabre-Version',Sabre_DAV_Version::VERSION . '-' . Sabre_DAV_VERSION::STABILITY);
         $this->httpResponse->setHeader('Content-Length',0);
         $this->httpResponse->sendStatus(200);
 

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



More information about the Pkg-owncloud-commits mailing list