-
Notifications
You must be signed in to change notification settings - Fork 38.8k
ShallowETagHeaderFilter overwrites ETag #23775
Copy link
Copy link
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Milestone
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchesAn issue that has been backported to maintenance branchestype: bugA general bugA general bug
Type
Fields
Give feedbackNo fields configured for issues without a type.
Affects: 5.2.0.RELEASE
Inside a
@ControllerI set the ETag and Cache-control header:ShallowETagHeaderFilter overwrites ETag because isEligibleForEtag method returns true:
ShallowEtagHeaderFilter should first check if an ETag is already set and skip it.