Should be at about line 1045
if(preg_match("|^HTTP/|",$result_headers[$currentHeader]))
{
if(preg_match("|^HTTP/[^\s]*\s(.*?)\s|",$result_headers[$currentHeader], $status))
{
$this->status= $status[1];
}
$this->response_code = $result_headers[$currentHeader];
}
instead of
if(preg_match("|^HTTP/|",$result_headers[$currentHeader]))
$this->response_code = $result_headers[$currentHeader];
I also fixed this in opendb before noticing here, along with tickets 80 and 81:
https://github.com/pellcorp/opendb/commit/05e37af6e94f6816a6efd19dc60fcb423f7265b7#lib/Snoopy.class.php