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

Update last modified timestamp without content update #2866

Merged
merged 2 commits into from
Oct 5, 2024

Conversation

smlx
Copy link
Contributor

@smlx smlx commented Oct 4, 2024

Do you follow the guidelines?

RFC9111 sections 3.2 and 4.3.4 describe how stored headers such as Last-Modified must be updated even when ETag doesn't change. This PR implements that behaviour, fixing the Miniflux bug described in this blog post.

The updated comment reflects a better understanding of the RFCs.
When a server returns a 304 response with a strong validator, any other
stored fields must be updated if they are also present in the response.

This behaviour is described in RFC9111, sections 3.2 and 4.3.4.
@fguillot fguillot merged commit 562a7b7 into miniflux:main Oct 5, 2024
16 checks passed
@smlx smlx deleted the update-last-modified branch October 5, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants