Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#78 Response HTTP-Status unknown at HTTPS-Request

open
nobody
None
3
2013-06-18
2011-06-15
bonscho
No

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];

Discussion

  • bonscho
    bonscho
    2011-06-19

    • priority: 5 --> 3