src/Bigcommerce/Api/Connection.php
private function parseHeader($curl, $headers)
    {
        if (!$this->responseStatusLine && strpos($headers, 'HTTP/') === 0) {
            $this->responseStatusLine = $headers;
        } else {
            $parts = explode(': ', $headers);
            if (isset($parts[1])) {
                $this->responseHeaders[$parts[0]] = trim($parts[1]);
            }
        }
        return strlen($headers);
    }
private function parseHeader($curl, $headers)
    {
        if (!$this->responseStatusLine && strpos($headers, 'HTTP/') === 0) {
            $this->responseStatusLine = $headers;
        } else {
            $parts = explode(': ', $headers);
            if (isset($parts[1])) {
                $this->responseHeaders[$parts[0]] = trim($parts[1]);
            }
        }
        return strlen($headers);
    }
private function parseHeader ( $ curl , $ headers ) { if ( ! $ this -> responseStatusLine && strpos ( $ headers , 'HTTP/' ) === 0 ) { $ this -> responseStatusLine = $ headers ; } else { $ parts = explode ( ': ' , $ headers ) ; if ( isset ( $ parts [ 1 ] ) ) { $ this -> responseHeaders [ $ parts [ 0 ] ] = trim ( $ parts [ 1 ] ) ; } } return strlen ( $ headers ) ; }
Method that appears unused, but is in fact called by curl

@param resource $curl
@param string $headers
@return int
Method that appears unused but is in fact called by curl