Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct documentation for the last-modified http header. #714

Merged
merged 1 commit into from
Aug 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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