protected function updateHostHeaderFromUri()
    {
        if ($host = $this->uri->getHost()) {
            if (($port = $this->uri->getPort()) !== null) {
                $host .= ':' . $port;
            }

            $this->headers->set('Host', $host);
        }
    }
protected function updateHostHeaderFromUri()
    {
        if ($host = $this->uri->getHost()) {
            if (($port = $this->uri->getPort()) !== null) {
                $host .= ':' . $port;
            }

            $this->headers->set('Host', $host);
        }
    }
protected function updateHostHeaderFromUri ( ) { if ( $ host = $ this -> uri -> getHost ( ) ) { if ( ( $ port = $ this -> uri -> getPort ( ) ) !== null ) { $ host .= ':' . $ port ; } $ this -> headers -> set ( 'Host' , $ host ) ; } }
Update Host header from Uri
Update Host header from Uri