I added a fix in placid/services/Placid_RequestsService.php in the getDataFromResponse method that was checking for the content type on the response body, not the response. This in turn caused checks for the XML content type to fail. In addition, I added checks for both 'text/xml' and 'application/xml'.
Prior to this fix, responses containing XML were NULL when accessing the 'data' property. Not sure if this is the best approach, but it seems to address the issue.
Hello,
I added a fix in placid/services/Placid_RequestsService.php in the getDataFromResponse method that was checking for the content type on the response body, not the response. This in turn caused checks for the XML content type to fail. In addition, I added checks for both 'text/xml' and 'application/xml'.
Prior to this fix, responses containing XML were NULL when accessing the 'data' property. Not sure if this is the best approach, but it seems to address the issue.