From 0c0a2fadd585d56d4f55229f8c949d1e5133edb9 Mon Sep 17 00:00:00 2001 From: whwyy Date: Fri, 28 Nov 2025 11:37:09 +0800 Subject: [PATCH] ea --- CurlClient.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CurlClient.php b/CurlClient.php index 85c5eb8..f09cb31 100644 --- a/CurlClient.php +++ b/CurlClient.php @@ -201,6 +201,8 @@ class CurlClient extends ClientAbstracts // 获取 HTTP 状态码 $statusCode = +curl_getinfo($this->client, CURLINFO_HTTP_CODE); + var_dump($output, $statusCode); + // 获取 header 的大小(不包括最后的 \r\n\r\n 分隔符) $headerSize = curl_getinfo($this->client, CURLINFO_HEADER_SIZE); $header = substr($output, 0, $headerSize);