private function filterHeaders()
    {
        $headers = array();

        foreach ($this->headers as $name => $value) {
            if (strtolower($name) != 'user-agent') {
                $headers[] = "$name: $value";
            }
        }

        return $headers;
    }
private function filterHeaders()
    {
        $headers = array();

        foreach ($this->headers as $name => $value) {
            if (strtolower($name) != 'user-agent') {
                $headers[] = "$name: $value";
            }
        }

        return $headers;
    }
private function filterHeaders ( ) { $ headers = array ( ) ; foreach ( $ this -> headers as $ name => $ value ) { if ( strtolower ( $ name ) != 'user-agent' ) { $ headers [ ] = "$name: $value" ; } } return $ headers ; }
User-Agent header is sent differently.
User - Agent header is sent differently .