mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2026-01-02 20:16:37 +08:00
WAF在输出内容时也加入自定义的响应报头
This commit is contained in:
@@ -13,7 +13,7 @@ func (this *HTTPRequest) doTrafficLimit() {
|
||||
this.tags = append(this.tags, "bandwidth")
|
||||
|
||||
var statusCode = 509
|
||||
this.processResponseHeaders(this.writer.Header(), statusCode)
|
||||
this.ProcessResponseHeaders(this.writer.Header(), statusCode)
|
||||
|
||||
this.writer.WriteHeader(statusCode)
|
||||
if len(config.NoticePageBody) != 0 {
|
||||
|
||||
Reference in New Issue
Block a user