src/main/php/response/WebResponse.php
private function sendHead(): Response
    {
        $this->header($this->status->line($this->version, $this->sapi));
        foreach ($this->headers as $name => $value) {
            $this->header($name . ': ' . $value);
        }

        foreach ($this->cookies as $cookie) {
            $cookie->send();
        }

        $this->header('Content-type: ' . $this->mimeType);
        if (!$this->headers->contain('X-Request-ID')) {
            $this->header('X-Request-ID: ' . $this->request->id());
        }

        return $this;
    }
private function sendHead(): Response
    {
        $this->header($this->status->line($this->version, $this->sapi));
        foreach ($this->headers as $name => $value) {
            $this->header($name . ': ' . $value);
        }

        foreach ($this->cookies as $cookie) {
            $cookie->send();
        }

        $this->header('Content-type: ' . $this->mimeType);
        if (!$this->headers->contain('X-Request-ID')) {
            $this->header('X-Request-ID: ' . $this->request->id());
        }

        return $this;
    }
private function sendHead ( ) : Response { $ this -> header ( $ this -> status -> line ( $ this -> version , $ this -> sapi ) ) ; foreach ( $ this -> headers as $ name => $ value ) { $ this -> header ( $ name . ': ' . $ value ) ; } foreach ( $ this -> cookies as $ cookie ) { $ cookie -> send ( ) ; } $ this -> header ( 'Content-type: ' . $ this -> mimeType ) ; if ( ! $ this -> headers -> contain ( 'X-Request-ID' ) ) { $ this -> header ( 'X-Request-ID: ' . $ this -> request -> id ( ) ) ; } return $ this ; }
sends head only

@return  \stubbles\webapp\Response
sends head only