Skip to content

Add Cache-Control must-understand directive#36918

Open
heka1024 wants to merge 1 commit into
spring-projects:mainfrom
heka1024:add-must-understand
Open

Add Cache-Control must-understand directive#36918
heka1024 wants to merge 1 commit into
spring-projects:mainfrom
heka1024:add-must-understand

Conversation

@heka1024

Copy link
Copy Markdown

This Pull Request has been created to add must-understand directive according to https://www.rfc-editor.org/rfc/rfc9111.html#name-must-understand.

Signed-off-by: heka1024 <heka1024@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Jun 14, 2026
@bclozel

bclozel commented Jun 14, 2026

Copy link
Copy Markdown
Member

A response that contains the must-understand directive SHOULD also contain the no-store directive.

This is not enforced by this new API in any fashion and we should try to solve this problem.

@bclozel bclozel self-assigned this Jun 14, 2026
@bclozel bclozel added the in: web Issues in web modules (web, webmvc, webflux, websocket) label Jun 14, 2026
@heka1024

Copy link
Copy Markdown
Author

@bclozel How about applying no-store when must understand is called?

@bclozel

bclozel commented Jun 16, 2026

Copy link
Copy Markdown
Member

@heka1024 I don't think this would work because you could still end up with invalid combinations, whereas the current API avoids lots of those. I'll have another go at this when I'll process this PR.

@bclozel bclozel added this to the 7.1.x milestone Jun 16, 2026
@bclozel bclozel added type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants