特殊页面中的URL抓取的内容也支持请求变量

This commit is contained in:
GoEdgeLab
2021-09-21 10:13:30 +08:00
parent 88b1d20dcd
commit 2a8658c436
4 changed files with 15 additions and 7 deletions

View File

@@ -17,7 +17,7 @@ func (this *HTTPRequest) doShutdown() {
}
if urlPrefixRegexp.MatchString(shutdown.URL) { // URL
this.doURL(http.MethodGet, shutdown.URL, "", shutdown.Status)
this.doURL(http.MethodGet, shutdown.URL, "", shutdown.Status, true)
return
}