<?php[...]preg_match('#^HTTP/1.\d (\d{3}) ?#',$h,$m);if(count($m)!=2){AimySitemapLogger::debug("Crawl: HTTP HEAD response: [$s]");AimySitemapLogger::debug("Crawl: parse_head failed: [$h]");thrownewRuntimeException('Failed to parse head: status code not found',self::MSG_PARSE_HTTP);}[...]?>
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.