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
1 change: 1 addition & 0 deletions benches/src/header_map/basic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,7 @@ const STD: &'static [HeaderName] = &[
AUTHORIZATION,
CACHE_CONTROL,
CACHE_STATUS,
CAPSULE_PROTOCOL,
CDN_CACHE_CONTROL,
CONNECTION,
CONTENT_DISPOSITION,
Expand Down
1 change: 1 addition & 0 deletions src/header/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ pub use self::name::{
AUTHORIZATION,
CACHE_CONTROL,
CACHE_STATUS,
CAPSULE_PROTOCOL,
CDN_CACHE_CONTROL,
CONNECTION,
CONTENT_DISPOSITION,
Expand Down
6 changes: 6 additions & 0 deletions src/header/name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,12 @@ standard_headers! {
/// See [RFC 9211](https://www.rfc-editor.org/rfc/rfc9211.html).
(CacheStatus, CACHE_STATUS, b"cache-status");

/// Indicates whether the Capsule Protocol is in use for a request or
/// response.
///
/// See [RFC 9297](https://www.rfc-editor.org/rfc/rfc9297.html).
(CapsuleProtocol, CAPSULE_PROTOCOL, b"capsule-protocol");

/// Specifies directives that allow origin servers to control the behavior of CDN caches
/// interposed between them and clients separately from other caches that might handle the
/// response.
Expand Down
1 change: 1 addition & 0 deletions tests/header_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ const STD: &'static [HeaderName] = &[
AUTHORIZATION,
CACHE_CONTROL,
CACHE_STATUS,
CAPSULE_PROTOCOL,
CDN_CACHE_CONTROL,
CONNECTION,
CONTENT_DISPOSITION,
Expand Down
1 change: 1 addition & 0 deletions tests/header_map_fuzz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ fn gen_header_name(g: &mut StdRng) -> HeaderName {
header::AUTHORIZATION,
header::CACHE_CONTROL,
header::CACHE_STATUS,
header::CAPSULE_PROTOCOL,
header::CDN_CACHE_CONTROL,
header::CONNECTION,
header::CONTENT_DISPOSITION,
Expand Down