mirror of
https://github.com/shadow1ng/fscan.git
synced 2026-09-22 03:10:42 +08:00
Update Eval.go
This commit is contained in:
+1
-1
@@ -769,7 +769,7 @@ func ParseResponse(oResp *http.Response) (*Response, error) {
|
|||||||
func getRespBody(oResp *http.Response) ([]byte, error) {
|
func getRespBody(oResp *http.Response) ([]byte, error) {
|
||||||
// 读取原始响应体
|
// 读取原始响应体
|
||||||
body, err := io.ReadAll(oResp.Body)
|
body, err := io.ReadAll(oResp.Body)
|
||||||
if err != nil && err != io.EOF {
|
if err != nil && err != io.EOF && len(body) == 0 {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user