feat(http): add option to skip SSL certificate verification (#801)

This commit is contained in:
Ricky authored and GitHub committed 2024-11-12 10:30:21 +08:00
1 parent 3384f5197a
commit 2523282a89
19 files changed
+48 -1

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ type Request struct {
Labels map[string]string `json:"labels"`
// Proxy is special proxy config for request
Proxy *RequestProxy `json:"proxy"`
// SkipVerifyCert is the flag that skip verify cert
SkipVerifyCert bool `json:"skipVerifyCert"`
}
func (r *Request) Validate() error {