Skip to content

MockMvcWebConnection should update cookie manager with MockHttpServletResponse cookies [SPR-14265] #18837

Closed
@spring-projects-issues

Description

@spring-projects-issues

Rob Winch opened SPR-14265 and commented

Currently MockMvcWebConnection does not update the cookie manager with the cookies from MockHttpServletResponse. This means that newly added cookies are not saved to the cookie manager and thus are not presented in the next request.

The exception is the JSESSIONID cookie which has special logic to handle it and to ensure that the session is managed.


Affects: 4.3 RC2

Issue Links:

Referenced from: pull request #1055, and commits e2fa282, 54f84cb

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions