Skip to content

Commit

Permalink
docs: Correct documentation for the last-modified http header. (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
wyatt-herkamp authored Aug 8, 2024
1 parent af5df31 commit de89c5a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/header/name.rs
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,10 @@ standard_headers! {
/// document.
(IfUnmodifiedSince, IF_UNMODIFIED_SINCE, b"if-unmodified-since");

/// Content-Types that are acceptable for the response.
/// The Last-Modified header contains the date and time when the origin believes
/// the resource was last modified.
///
/// The value is a valid Date/Time string defined in [RFC9910](https://datatracker.ietf.org/doc/html/rfc9110#section-5.6.7)
(LastModified, LAST_MODIFIED, b"last-modified");

/// Allows the server to point an interested client to another resource
Expand Down

0 comments on commit de89c5a

Please sign in to comment.