OCA\Richdocuments\DownloadResponse::sendRangeNotSatisfiable PHP 메소드

sendRangeNotSatisfiable() 보호된 메소드

Send 416 if we can't satisfy the requested ranges
protected sendRangeNotSatisfiable ( integer $filesize )
$filesize integer
    protected function sendRangeNotSatisfiable($filesize)
    {
        $this->setStatus(Http::STATUS_REQUEST_RANGE_NOT_SATISFIABLE);
        $this->addHeader('Content-Range', 'bytes */' . $filesize);
        // Required in 416.
        return '';
    }