From f27584046cbcbc8086574ba6bfebf6e35a6efc2c Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sun, 26 Feb 2023 16:31:40 +0000 Subject: [PATCH] add todo for header names in next breaking release --- actix-http/src/header/common.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/actix-http/src/header/common.rs b/actix-http/src/header/common.rs index 67b0a9069..6942dc26a 100644 --- a/actix-http/src/header/common.rs +++ b/actix-http/src/header/common.rs @@ -8,12 +8,14 @@ use http::header::HeaderName; /// request. /// /// See [RFC 9211](https://www.rfc-editor.org/rfc/rfc9211) for full semantics. +// TODO(breaking): replace with http's version pub const CACHE_STATUS: HeaderName = HeaderName::from_static("cache-status"); /// Response header field that allows origin servers to control the behavior of CDN caches /// interposed between them and clients separately from other caches that might handle the response. /// /// See [RFC 9213](https://www.rfc-editor.org/rfc/rfc9213) for full semantics. +// TODO(breaking): replace with http's version pub const CDN_CACHE_CONTROL: HeaderName = HeaderName::from_static("cdn-cache-control"); /// Response header that prevents a document from loading any cross-origin resources that don't