protected function httpGet($uri) { $range = $this->getHTTPRange(); if (OC_App::isEnabled('files_encryption') && $range) { // encryption does not support range requests $this->ignoreRangeHeader = true; } return parent::httpGet($uri); }