WAF在输出内容时也加入自定义的响应报头

This commit is contained in:
刘祥超
2023-06-11 10:46:20 +08:00
parent d3caccbb55
commit 3e79b71afc
23 changed files with 64 additions and 48 deletions

View File

@@ -38,6 +38,9 @@ type Request interface {
// Format 格式化变量
Format(string) string
// ProcessResponseHeaders 处理响应Header
ProcessResponseHeaders(headers http.Header, status int)
// DisableAccessLog 在当前请求中不使用访问日志
DisableAccessLog()
}