From 229253898c8229b42e832eb0fa178e0d9f50407c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 2 Nov 2020 21:15:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E7=82=B9=E5=87=BB=E8=AE=BF?= =?UTF-8?q?=E9=97=AE=E6=97=A5=E5=BF=97=E6=98=BE=E7=A4=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=AA=97=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/http_request_log.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/nodes/http_request_log.go b/internal/nodes/http_request_log.go index 105919d..0de7026 100644 --- a/internal/nodes/http_request_log.go +++ b/internal/nodes/http_request_log.go @@ -104,7 +104,7 @@ func (this *HTTPRequest) log() { Referer: referer, UserAgent: userAgent, Request: this.requestString(), - ContentType: this.requestContentType(), + ContentType: this.writer.Header().Get("Content-Type"), Cookie: cookies, Args: queryString, QueryString: queryString,