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

Regression in SpringWeb 6.1.4 causes ContentType to be missing if ShallowEtagHeaderFilter is used and HTTP response is streamed #32363

Closed
j-be opened this issue Mar 4, 2024 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@j-be
Copy link

j-be commented Mar 4, 2024

Affects: \6.1.4

Upgrading from SpringBoot 3.2.2 to 3.2.3 broke some of our APIs. After thorough examination we were able to narrow the issue down to the SpringWeb going from 6.1.3 to 6.1.4.

Further investigation showed, that the issue only appears if ShallowEtagHeaderFilter is enabled and disableContentCaching is called on it, which seems to be happening if the HTTP response is streamed.

I created a minimal reproducer at https://github.com/j-be/spring-web-contentType-issue

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Mar 4, 2024
@snicoll
Copy link
Member

snicoll commented Mar 4, 2024

Thanks for the report. I believe this is a duplicate of #32317. Please test against 6.1.5-SNAPSHOT and report back if that doesn't fix the problem.

@snicoll snicoll closed this as not planned Won't fix, can't repro, duplicate, stale Mar 4, 2024
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants