Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ReactiveHttpComponentsClientHttpResponse ignoresExpires cookie attribute #33157

Closed
Assignees
bclozel
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug
Milestone
@renetrefft

Description

@renetrefft

A cookie has the optional attributesExpires andMax-Age. If both are set, the latter takes precedence.

In methodadaptCookies() of classorg.springframework.http.client.reactive.HttpComponentsClientHttpResponse each HttpComponentsCookie is converted to a SpringResponseCookie.

Given is an HttpComponentsCookie which has setExpires only, sinceadaptCookies() just readsMax-Age fromCookie, the resultingResponseCookie has lost its expiration information.

Note: I have also checkedReactorClientHttpResponse, and it is not affected. Netty internally convertsExpires toMax-Age. Thus, itsCookie class supportsMax-Age only.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: bugA general bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp