diff --git a/actix-web/src/http/header/content_location.rs b/actix-web/src/http/header/content_location.rs index e36ce3b71..9f0ea505f 100644 --- a/actix-web/src/http/header/content_location.rs +++ b/actix-web/src/http/header/content_location.rs @@ -2,11 +2,11 @@ use super::{Uri, CONTENT_LOCATION}; crate::http::header::common_header! { /// `Content-Location` header, defined - /// in [RFC 7231 §3.1.4.2](https://datatracker.ietf.org/doc/html/rfc7231#section-3.1.4.2) + /// in [RFC 9110 §8.7](https://datatracker.ietf.org/doc/html/rfc9110#section-8.7) /// /// The "Content-Location" header field references a URI that can be used /// as an identifier for a specific resource corresponding to the - /// representation in this message's payload. + /// representation in this message's content. /// /// # ABNF /// ```plain diff --git a/actix-web/src/http/header/location.rs b/actix-web/src/http/header/location.rs index 97c7ea78a..3a759152d 100644 --- a/actix-web/src/http/header/location.rs +++ b/actix-web/src/http/header/location.rs @@ -2,12 +2,12 @@ use super::{Uri, LOCATION}; crate::http::header::common_header! { /// `Location` header, defined - /// in [RFC 7231 §7.1.2](https://datatracker.ietf.org/doc/html/rfc7231#section-7.1.2) + /// in [RFC 9110 §10.2.2](https://datatracker.ietf.org/doc/html/rfc9110#section-10.2.2) /// /// The "Location" header field is used in some responses to refer to a - /// specific resource in relation to the response. The type of - /// relationship is defined by the combination of request method and - /// status code semantics. + /// specific resource in relation to the response. The type of relationship + /// is defined by the combination of request method and status code + /// semantics. /// /// # ABNF /// ```plain diff --git a/actix-web/src/http/header/referer.rs b/actix-web/src/http/header/referer.rs index f81355324..503f7e4ff 100644 --- a/actix-web/src/http/header/referer.rs +++ b/actix-web/src/http/header/referer.rs @@ -2,11 +2,11 @@ use super::{Uri, REFERER}; crate::http::header::common_header! { /// `Referer` header, defined - /// in [RFC 7231 §5.5.2](https://datatracker.ietf.org/doc/html/rfc7231#section-5.5.2) + /// in [RFC 9110 §10.1.3](https://datatracker.ietf.org/doc/html/rfc9110#section-10.1.3) /// - /// The "Referer" (sic) header field allows the user agent to specify a - /// URI reference for the resource from which the target URI was obtained - /// (i.e., the "referrer", though the field name is misspelled). + /// The "Referer" [sic] header field allows the user agent to specify a URI + /// reference for the resource from which the target URI was obtained (i.e., + /// the "referrer", though the field name is misspelled). /// /// # ABNF /// ```plain