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
I am having this same error. Im parsing JSON data with php. I get the same error after looping through the 88th iteration in my code. I checked the output for JSON errors and didn't find any...
Fatal error: Uncaught exception 'Exception' with message 'Unable to parse response code from HTTP response due to malformed response' in
phar:///mypath/httpful.phar/Httpful/Response.php:138 Stack trace: #0
phar:///mypath/httpful.phar/Httpful/Response.php(37): Httpful\Response->_parseCode(NULL) #1
phar:///mypath/httpful.phar/Httpful/Request.php(214): Httpful\Response->__construct('<html>??<head><...', NULL, Object(Httpful\Request)) #2
/mypath/checkDuplicates.php(77): Httpful\Request->send() #3 {main} thrown in
phar:///mypath/httpful.phar/Httpful/Response.php on line 138
Demo code:
Demo output:
The first request goes through fine, but when a little more xml data is added to the POST body, suddenly the response becomes "malformed".
The text was updated successfully, but these errors were encountered: