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

NoCache middlewares should not remove preconditions from request #801

Open
pboguslawski opened this issue Mar 3, 2023 · 0 comments
Open

Comments

@pboguslawski
Copy link

NoCache middleware removes preconditions from request but describes itself as cache disabling middleware. According to https://www.rfc-editor.org/rfc/rfc7232 preconditions may be used for protection against lost updates even when no caching is enabled for resource.

NoCache middleware should touch only response headers not request headers probably and should not block headers required for conditional requests to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant