Skip to content

Reset Pragma header in WebContentGenerator when caching resources [SPR-13252] #17843

Closed
@spring-projects-issues

Description

@spring-projects-issues

Brian Clozel opened SPR-13252 and commented

When using Spring Security or any other servlet filter setting the pragma HTTP header, applications may write inconsistent responses with caching Cache-Control headers and "no-cache" Pragma headers.

The resource handling code path should make sure that this header is not set.


Affects: 4.2 RC3

Reference URL: #840

Issue Links:

Referenced from: commits 15fe827, 09e3fc4, ed34ea4

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions