Skip to content

Remove Servlet 3.0 Support in CacheControlHeadersWriter #6265

Closed
@jzheaux

Description

@jzheaux

Related to #6220

CacheControlHeadersWriter checks first to see if HttpServletRequest#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 the hasHeader method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webAn issue in web modules (web, webmvc)status: first-timers-onlyAn issue that can only be worked on by brand new contributorstype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions