You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi
If I want to read partial content the following line makes issues:
Line 203
if(curl_errno($ch) !== 0 || intval($request_info['http_code']) !== 200)
Since partial content returns status 206
I'm reducing this to if(curl_errno($ch) !== 0 ) { //if server responded with http error
since http_code needs to be checked in callback function depending on usage.
Hi
If I want to read partial content the following line makes issues:
Line 203
if(curl_errno($ch) !== 0 || intval($request_info['http_code']) !== 200)
Since partial content returns status 206
I'm reducing this to if(curl_errno($ch) !== 0 ) { //if server responded with http error
since http_code needs to be checked in callback function depending on usage.
seems nice
The text was updated successfully, but these errors were encountered: