From 3fcdbd45a03589b0446e286613d16c8b0e23f30b Mon Sep 17 00:00:00 2001 From: 39zde Date: Mon, 14 Oct 2024 22:24:02 +0200 Subject: [PATCH] add headers to header name lists --- benches/src/header_name.rs | 6 ++++++ benches/src/header_name2.rs | 1 + 2 files changed, 7 insertions(+) diff --git a/benches/src/header_name.rs b/benches/src/header_name.rs index 4249f987..5b50dc45 100644 --- a/benches/src/header_name.rs +++ b/benches/src/header_name.rs @@ -115,6 +115,9 @@ fn make_all_known_headers() -> Vec> { b"X-Frame-Options".to_vec(), // common_non_standard_response b"Content-Security-Policy".to_vec(), + b"Cross-Origin-Embedder-Policy".to_vec(), + b"Cross-Origin-Opener-Policy".to_vec(), + b"Cross-Origin-Resource-Policy".to_vec(), b"Refresh".to_vec(), b"Status".to_vec(), b"Timing-Allow-Origin".to_vec(), @@ -238,6 +241,9 @@ static ALL_KNOWN_HEADERS: &[&str] = &[ "x-frame-options", // common_non_standard_response "content-security-policy", + "cross-origin-embedder-policy", + "cross-origin-opener-policy", + "cross-origin-resource-policy", "refresh", "status", "timing-allow-origin", diff --git a/benches/src/header_name2.rs b/benches/src/header_name2.rs index 4562fd66..30bbd050 100644 --- a/benches/src/header_name2.rs +++ b/benches/src/header_name2.rs @@ -29,6 +29,7 @@ const STANDARD_HEADERS_BY_SIZE: &[&str] = &[ "content-security-policy", "sec-websocket-extensions", "strict-transport-security", + "cross-origin-opener-policy", "access-control-allow-origin", "access-control-allow-headers", "access-control-expose-headers",