Keep PHP binary responses as strings for easier manipulation.

This commit is contained in:
Elijah Miller
2016-01-27 12:12:32 -05:00
parent d2bb505147
commit 6698c532e6
5 changed files with 7 additions and 7 deletions

View File

@@ -1036,7 +1036,7 @@ class PetApi
// body params
$_tempBody = null;
if (isset($body)) {
$_tempBody = call_user_func_array('pack', array_merge(array('C*'), $body));
$_tempBody = $body;
}
// for model (json/xml)