From 628a0f855fdfa1244ce12bd5dda406bff5bc8772 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Thu, 3 Mar 2022 19:36:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0206=20partial=20content?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E7=BC=93=E5=AD=98=E9=85=8D=E7=BD=AE?= 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 e413b1f..1cc573d 100644 --- a/pkg/serverconfigs/http_cache_ref.go +++ b/pkg/serverconfigs/http_cache_ref.go @@ -25,6 +25,7 @@ type HTTPCacheRef struct { SkipResponseSetCookie bool `yaml:"skipSetCookie" json:"skipSetCookie"` // 是否跳过响应的Set-Cookie Header EnableRequestCachePragma bool `yaml:"enableRequestCachePragma" json:"enableRequestCachePragma"` // 是否支持客户端的Pragma: no-cache AllowChunkedEncoding bool `yaml:"allowChunkedEncoding" json:"allowChunkedEncoding"` // 是否允许分片内容 + AllowPartialContent bool `yaml:"allowPartialContent" json:"allowPartialContent"` // 支持分段内容缓存 Conds *shared.HTTPRequestCondsConfig `yaml:"conds" json:"conds"` // 请求条件