增加变量${requestPathLowerExtension}

This commit is contained in:
GoEdgeLab
2023-02-10 10:43:30 +08:00
parent 5f45fb6aae
commit 173371e8f8

View File

@@ -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":