Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot overwrite content-type response header with WebFlux [SPR-17415] #21948
I originally reported spring-projects/spring-boot#13635 which Brian Clozel troubleshooted and transferred to #21619 and then resolved. This resolved my original issue when I upgraded to Spring Boot 2.1.0.M4 (Spring 5.1.0.RELEASE).
But when I upgraded to Spring Boot 2.1.0.RC1 (Spring 5.1.1.RELEASE), the issue came back.
Here is sample output in the original Spring Boot report and the example in #21619 when using 2.1.0.M4/5.1.0.RELEASE:
And here is exactly the same two calls when I only switch to 2.1.0.RC1/5.1.1.RELEASE:
Peter Luttrell commented
Here's a quick project that shows the issue in at least one case. https://github.com/pluttrell/406-bug. I believe that there are more cases that trigger this issue.
I think it's interesting that the unit test with the