Skip to content

Document that MockHttpServletRequest does not comply with Servlet spec regarding Accept-Language header [SPR-12043] #16659

@spring-projects-issues

Description

@spring-projects-issues

Sam Brannen opened SPR-12043 and commented

Status Quo

#16323 raised the issue that MockHttpServletRequest does not comply with the Servlet spec with regard to locales and the Accept-Language header.


Deliverables

  1. Document that MockHttpServletRequest.getLocale() does not comply with the the Servlet specification with regard to the Accept-Language header.
  2. Document that MockHttpServletRequest.getLocales() does not comply with the the Servlet specification with regard to the Accept-Language header.

Issue Links:

Referenced from: commits 7971f6b

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions