You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: http_verify.go
    path of file: ./repos/go-stress-testing/server/verify
    
    the code of the file until where you have to start completion: // Package verify 校验
package verify

import (
	"encoding/json"
	"fmt"
	"net/http"

	"github.com/link1st/go-stress-testing/model"
)

// HTTPStatusCode 通过 HTTP 状态码判断是否请
    
func HTTPStatusCode(request *model.Request, response *http.Response, body []byte) (code int, isSucceed bool) {
	code = response.StatusCode
	if code == request.Code {
		isSucceed = true
	}
	// 开启调试模式
	if request.GetDebug() {
		fmt.Printf("请求结果 httpCode:%d body:%s \n", response.StatusCode, string(body))
	}
	return
}