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

This commit is contained in:
刘祥超
2021-09-21 10:13:30 +08:00
parent 33e899a008
commit c793dd9d8c
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
}