• undertow sends all content-length headers back to the client causing browser issues
  • more comments on the issue in #26330

Fixes #26330

Investigative PR

Comment From: sbrannen

Investigative PR

Do you mean that we should mark this as a Draft PR?

If so, please keep us posted on the status of this PR.

Comment From: paulcwarren

Investigative PR as in IF it is seen as a valid approach - as opposed to chasing it down to Undertow - then I am happy to iterate on the PR based on any feedback then core Spring team may have.

Comment From: bclozel

@paulcwarren Could you remove the changes in the test class? I think this change is a nice improvement (not setting the content length twice) but it's not fixing the core issue. I've got a change ready that should fix this inconsistency and I'll add a comment on the original issue.

Comment From: paulcwarren

Sure thing. I just added that change to the test to prove the problem and TDD the fix. Will remove and re-push.

Comment From: paulcwarren

Done. Force pushed over the top of my PR branch.