Remove Servlet 3.0 Support in CacheControlHeadersWriter #6265
Labels
in: web
An issue in web modules (web, webmvc)
status: first-timers-only
An issue that can only be worked on by brand new contributors
type: enhancement
A general enhancement
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Related to #6220
CacheControlHeadersWriter
checks first to see ifHttpServletRequest#getHeader
is available.Since Spring Framework 5.x has a baseline of Servlet Spec 3.1, this check is no longer necessary as well as any tests.
The task here is to remove the check, remove the tests, and change the class to simply call the
getHeader
method directly in thehasHeader
method.The text was updated successfully, but these errors were encountered: