Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions include/envoy/http/header_map.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down Expand Up @@ -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) \
Expand Down
3 changes: 3 additions & 0 deletions source/common/http/headers.h
Original file line number Diff line number Diff line change
Expand Up @@ -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"};
Expand Down Expand Up @@ -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"};
Expand Down Expand Up @@ -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 {
Expand Down