//* DEBUG: */ logDebugMessage(__FUNCTION__, __LINE__, 'isChunked=' . intval($isChunked));
if ($isChunked === TRUE) {
// Make sure, that body is an array
- assert(is_array($body));
+ assert(is_array($body), 'body[]=' . gettype($body) . ' must be an array.');
// Good, we still have the HTTP headers in there, so we need to get rid
// of them temporarly