src/main/php/response/Status.php
public function partialContent($lower, $upper, $total = '*', string $rangeUnit = 'bytes'): self
    {
        $this->headers->add(
                'Content-Range',
                $rangeUnit . ' ' . $lower . '-' . $upper  . '/' . $total
        );
        return $this->fixateCode(206);
    }
public function partialContent($lower, $upper, $total = '*', string $rangeUnit = 'bytes'): self
    {
        $this->headers->add(
                'Content-Range',
                $rangeUnit . ' ' . $lower . '-' . $upper  . '/' . $total
        );
        return $this->fixateCode(206);
    }
public function partialContent ( $ lower , $ upper , $ total = '*' , string $ rangeUnit = 'bytes' ) : self { $ this -> headers -> add ( 'Content-Range' , $ rangeUnit . ' ' . $ lower . '-' . $ upper . '/' . $ total ) ; return $ this -> fixateCode ( 206 ) ; }
sets status code to 206 Partial Content

@param   int|string  $lower      lower border of range
@param   int|string  $upper      upper border of range
@param   int|string  $total      optional    total length of content, defaults to * for "unknown"
@param   string      $rangeUnit  optional    range unit, defaults to "bytes"
@return  \stubbles\webapp\response\Status
sets status code to 206 Partial Content