mirror of
https://github.com/actix/actix-web.git
synced 2025-02-16 11:05:13 +00:00
add todo for header names in next breaking release
This commit is contained in:
parent
129b78f9c7
commit
f27584046c
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue