diff options
-rw-r--r-- | lib/response.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/response.php b/lib/response.php index a75135c0176..49d79fda709 100644 --- a/lib/response.php +++ b/lib/response.php @@ -111,12 +111,13 @@ class OC_Response { if (empty($etag)) { return; } + $etag = '"'.$etag.'"'; if (isset($_SERVER['HTTP_IF_NONE_MATCH']) && trim($_SERVER['HTTP_IF_NONE_MATCH']) == $etag) { self::setStatus(self::STATUS_NOT_MODIFIED); exit; } - header('ETag: "'.$etag.'"'); + header('ETag: '.$etag); } /** |