Skip to content

Remove Servlet 3.0 Support in CacheControlHeadersWriter #6265

Closed

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.

Activity

  1. added this to the 5.2.0.M1 milestone on Dec 7, 2018
  2. added a commit that references this issue on Dec 18, 2018
    a919b4e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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