From 1137dca5e24aafa5e2a19e9324badd07109c9231 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 18 Apr 2021 22:16:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=93=E5=AD=98=E8=AE=BE=E7=BD=AE=E4=B8=AD?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E2=80=9C=E6=94=AF=E6=8C=81=E5=88=86=E7=89=87?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E2=80=9D=E9=80=89=E9=A1=B9=EF=BC=8C=E7=94=A8?= =?UTF-8?q?=E6=9D=A5=E6=94=AF=E6=8C=81Chunked=E5=86=85=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/serverconfigs/http_cache_ref.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/serverconfigs/http_cache_ref.go b/pkg/serverconfigs/http_cache_ref.go index cc83671..49fb1d9 100644 --- a/pkg/serverconfigs/http_cache_ref.go +++ b/pkg/serverconfigs/http_cache_ref.go @@ -20,6 +20,7 @@ type HTTPCacheRef struct { SkipResponseCacheControlValues []string `yaml:"skipCacheControlValues" json:"skipCacheControlValues"` // 可以跳过的响应的Cache-Control值 SkipResponseSetCookie bool `yaml:"skipSetCookie" json:"skipSetCookie"` // 是否跳过响应的Set-Cookie Header EnableRequestCachePragma bool `yaml:"enableRequestCachePragma" json:"enableRequestCachePragma"` // 是否支持客户端的Pragma: no-cache + AllowChunkedEncoding bool `yaml:"allowChunkedEncoding" json:"allowChunkedEncoding"` // 是否允许分片内容 Conds *shared.HTTPRequestCondsConfig `yaml:"conds" json:"conds"` // 请求条件