diff --git a/include/envoy/http/header_map.h b/include/envoy/http/header_map.h index 9c65dfa1bc9b0..76072c18b6e75 100644 --- a/include/envoy/http/header_map.h +++ b/include/envoy/http/header_map.h @@ -269,6 +269,7 @@ class HeaderEntry { HEADER_FUNC(AccessControlAllowCredentials) \ HEADER_FUNC(AccessControlExposeHeaders) \ HEADER_FUNC(AccessControlMaxAge) \ + HEADER_FUNC(Age) \ HEADER_FUNC(Authorization) \ HEADER_FUNC(CacheControl) \ HEADER_FUNC(ClientTraceId) \ @@ -307,6 +308,7 @@ class HeaderEntry { HEADER_FUNC(EnvoyUpstreamServiceTime) \ HEADER_FUNC(Etag) \ HEADER_FUNC(Expect) \ + HEADER_FUNC(Expires) \ HEADER_FUNC(ForwardedClientCert) \ HEADER_FUNC(ForwardedFor) \ HEADER_FUNC(ForwardedProto) \ diff --git a/source/common/http/headers.h b/source/common/http/headers.h index 1c0ffc6ed2816..90d0fa134edb7 100644 --- a/source/common/http/headers.h +++ b/source/common/http/headers.h @@ -59,6 +59,7 @@ class HeaderValues { const LowerCaseString AccessControlExposeHeaders{"access-control-expose-headers"}; const LowerCaseString AccessControlMaxAge{"access-control-max-age"}; const LowerCaseString AccessControlAllowCredentials{"access-control-allow-credentials"}; + const LowerCaseString Age{"age"}; const LowerCaseString Authorization{"authorization"}; const LowerCaseString ProxyAuthenticate{"proxy-authenticate"}; const LowerCaseString ProxyAuthorization{"proxy-authorization"}; @@ -117,6 +118,7 @@ class HeaderValues { const LowerCaseString EnvoyDecoratorOperation{absl::StrCat(prefix(), "-decorator-operation")}; const LowerCaseString Etag{"etag"}; const LowerCaseString Expect{"expect"}; + const LowerCaseString Expires{"expires"}; const LowerCaseString ForwardedClientCert{"x-forwarded-client-cert"}; const LowerCaseString ForwardedFor{"x-forwarded-for"}; const LowerCaseString ForwardedHost{"x-forwarded-host"}; @@ -171,6 +173,7 @@ class HeaderValues { const std::string NoCache{"no-cache"}; const std::string NoCacheMaxAge0{"no-cache, max-age=0"}; const std::string NoTransform{"no-transform"}; + const std::string Private{"private"}; } CacheControlValues; struct {