Explorar el Código

Update Http.php

walkor hace 4 años
padre
commit
d26129e8e8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Protocols/Http.php

+ 1 - 1
Protocols/Http.php

@@ -196,7 +196,7 @@ class Http
             $connection->__request->connection = null;
             $connection->__request = null;
         }
-        if (\is_scalar($response) || null === $response) {
+        if (!\is_object($response)) {
             $ext_header = '';
             if (isset($connection->__header)) {
                 foreach ($connection->__header as $name => $value) {