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

Add support for RFC5861 Cache-Control headers #2949

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

calpaterson
Copy link
Contributor

@calpaterson calpaterson commented Sep 9, 2024

This PR adds the RFC5861 headers (stale-while-revalidate and stale-if-error) to the werkzeug ResponseCacheControl class. This is done by just adding more properties.

fixes #2948

(Haven't yet added all the right docs and so on, but will do so)

stale-while-revalidate and stale-if-error
@davidism davidism marked this pull request as ready for review October 25, 2024 23:18
@davidism davidism added this to the 3.1.0 milestone Oct 25, 2024
@davidism davidism merged commit 849a708 into pallets:main Oct 25, 2024
12 checks passed
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for RFC5861 Cache-Control headers
2 participants