* @return Status
*/
public function execute() {
-
$this->content = "";
if ( strtoupper( $this->method ) == "HEAD" ) {
if ( !isset( $this->reqHeaders['User-Agent'] ) ) {
$this->setUserAgent( Http::userAgent() );
}
-
}
/**
* found in an array in the member variable headerList.
*/
protected function parseHeader() {
-
$lastname = "";
foreach ( $this->headerList as $header ) {
}
$this->parseCookies();
-
}
/**
* Parse the cookies in the response headers and store them in the cookie jar.
*/
protected function parseCookies() {
-
if ( !$this->cookieJar ) {
$this->cookieJar = new CookieJar;
}
$this->cookieJar->parseCookieResponseHeader( $cookie, $url['host'] );
}
}
-
}
/**