Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not send Cookie header in reactive JdkClientHttpRequest if no cookies added #32799

Conversation

m4tt30c91
Copy link

Prevent cookies to be set to empty in the HTTP request if no cookie is present.
The Cookie header should not be sent if no cookie is set in the HTTP message.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label May 11, 2024
Prevent cookies to be set to empty in the HTTP request if no cookie
is present
@m4tt30c91 m4tt30c91 force-pushed the fix/jdkclienthttprequest-cookie-management branch from c9cf807 to 82eb809 Compare May 11, 2024 16:02
@jhoeller jhoeller added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels May 13, 2024
@jhoeller jhoeller added this to the 6.1.7 milestone May 13, 2024
@jhoeller jhoeller added the for: backport-to-6.0.x Marks an issue as a candidate for backport to 6.0.x label May 13, 2024
@rstoyanchev rstoyanchev self-assigned this May 13, 2024
@rstoyanchev rstoyanchev changed the title Fix cookie management in reactive JdkClientHttpRequest Do not send Cookie header in reactive JdkClientHttpRequest if no cookies added May 13, 2024
@rstoyanchev rstoyanchev added status: backported An issue that has been backported to maintenance branches and removed for: backport-to-6.0.x Marks an issue as a candidate for backport to 6.0.x labels May 13, 2024
rstoyanchev pushed a commit that referenced this pull request May 15, 2024
Prevent cookies to be set to empty in the HTTP request if no cookie
is present

See gh-32799
rstoyanchev added a commit that referenced this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: backported An issue that has been backported to maintenance branches type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants