소스 검색

Update Http.php

walkor 4 년 전
부모
커밋
d26129e8e8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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) {