You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have observed that on migrating from spring-boot 3.3.x to 3.4.0, the contentType header in the response is set to null if the response is empty. I am not able to find when this change was made and related to which pull request or any breaking change mentioned for the same.
Here the /test endpoint just returns an empty response with Mono.empty().
I have started getting the below error after moving to spring-boot 3.4.0 : java.lang.AssertionError: Response header 'Content-Type' expected:<application/json> but was:<null>
The text was updated successfully, but these errors were encountered:
I have observed that on migrating from spring-boot 3.3.x to 3.4.0, the
contentType
header in the response is set to null if the response is empty. I am not able to find when this change was made and related to which pull request or any breaking change mentioned for the same.Ex :
Here the
/test
endpoint just returns an empty response withMono.empty()
.I have started getting the below error after moving to spring-boot 3.4.0 :
java.lang.AssertionError: Response header 'Content-Type' expected:<application/json> but was:<null>
The text was updated successfully, but these errors were encountered: