#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
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks