mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-06 18:10:26 +08:00
增加${isArgs}请求变量
This commit is contained in:
@@ -634,6 +634,11 @@ func (this *HTTPRequest) Format(source string) string {
|
||||
return this.requestString()
|
||||
case "cookies":
|
||||
return this.requestCookiesString()
|
||||
case "isArgs":
|
||||
if strings.Contains(this.uri, "?") {
|
||||
return "?"
|
||||
}
|
||||
return ""
|
||||
case "args", "queryString":
|
||||
return this.requestQueryString()
|
||||
case "headers":
|
||||
|
||||
Reference in New Issue
Block a user