mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-08 11:20:27 +08:00
增加变量${requestPathLowerExtension}
This commit is contained in:
@@ -728,6 +728,8 @@ func (this *HTTPRequest) Format(source string) string {
|
||||
return this.Path()
|
||||
case "requestPathExtension":
|
||||
return filepath.Ext(this.Path())
|
||||
case "requestPathLowerExtension":
|
||||
return strings.ToLower(filepath.Ext(this.Path()))
|
||||
case "requestLength":
|
||||
return strconv.FormatInt(this.requestLength(), 10)
|
||||
case "requestTime":
|
||||
|
||||
Reference in New Issue
Block a user