Skip to content

Commit

Permalink
http: add x-served-by and x-cache to known headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jbr committed Nov 23, 2023
1 parent b80bddc commit ae826ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions http/src/headers/known_header_name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ known_headers! {
("WWW-Authenticate", WwwAuthenticate),
("Warning", Warning),
("Width", Width),
("X-Cache", Xcache),
("X-Content-Type-Options", XcontentTypeOptions),
("X-DNS-Prefetch-Control", XdnsPrefetchControl),
("X-Download-Options", XdownloadOptions),
Expand All @@ -217,6 +218,7 @@ known_headers! {
("X-Request-Id", XrequestId),
("X-Requested-With", XrequestedWith),
("X-Robots-Tag", XrobotsTag),
("X-Served-By", XservedBy),
("X-UA-Compatible", XuaCompatible),
("X-XSS-Protection", XxssProtection)
}

0 comments on commit ae826ea

Please sign in to comment.