http_response_response_code返回200,但报body mismatch,result_code返回6,这是为何,怎样修改可以让resulte_code为0
相关配置信息:
targets = [
"https://www.baidu.com",
"https://www.google.com"
]
method = "GET"
测试结果:
2023/09/26 10:20:30 http_response.go:304: E! body mismatch, response body: <html>
<head>
<script>
▽ location.replace(location.href.replace("https://","http://"));
</script>
</head>
<body>
<noscript><meta http-equiv="refresh" content="0;url=http://www.baidu.com/"></noscript>
</body>
</html>
2023/09/26 10:20:30 http_response.go:309: E! status code mismatch, response stats code: 200
10:20:32 http_response_cert_expire_timestamp agent_hostname=mysql123 cert_name=baidu.com net=intranet product=mysql123 target=https://www.baidu.com 1722909065
10:20:32 http_response_response_time agent_hostname=mysql123 method=GET product=mysql123 target=https://www.baidu.com 0.077054876
10:20:32 http_response_result_code agent_hostname=mysql123 method=GET product=mysql123 target=https://www.baidu.com 6
10:20:32 http_response_response_code agent_hostname=mysql123 method=GET product=mysql123 target=https://www.baidu.com 200