Core/Curl.php
public function getHeader()
    {
        if (is_null($this->header)) {
            $host = $this->getHost();

            $header = array();
            $header[] = 'POST /cgi-bin/webscr HTTP/1.1';
            $header[] = 'Content-Type: application/x-www-form-urlencoded';
            if (isset($host)) {
                $header[] = 'Host: ' . $host;
            }
            $header[] = 'Connection: close';

            $this->setHeader($header);
        }

        return $this->header;
    }
public function getHeader()
    {
        if (is_null($this->header)) {
            $host = $this->getHost();

            $header = array();
            $header[] = 'POST /cgi-bin/webscr HTTP/1.1';
            $header[] = 'Content-Type: application/x-www-form-urlencoded';
            if (isset($host)) {
                $header[] = 'Host: ' . $host;
            }
            $header[] = 'Connection: close';

            $this->setHeader($header);
        }

        return $this->header;
    }
public function getHeader ( ) { if ( is_null ( $ this -> header ) ) { $ host = $ this -> getHost ( ) ; $ header = array ( ) ; $ header [ ] = 'POST /cgi-bin/webscr HTTP/1.1' ; $ header [ ] = 'Content-Type: application/x-www-form-urlencoded' ; if ( isset ( $ host ) ) { $ header [ ] = 'Host: ' . $ host ; } $ header [ ] = 'Connection: close' ; $ this -> setHeader ( $ header ) ; } return $ this -> header ; }
Forms header from host.

@return array
Forms header from host .