Skip to content

Commit

Permalink
update references and text to RFC 9110
Browse files Browse the repository at this point in the history
  • Loading branch information
keithamus committed Aug 19, 2024
1 parent bbb7258 commit b66866d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions actix-web/src/http/header/content_location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions actix-web/src/http/header/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions actix-web/src/http/header/referer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b66866d

Please sign in to comment.