-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
Until Spring Framework v5.3.10, when Accept
header is not specified, all API used Content-Type: application/json
as default value. This behavior seems to have changed in v5.3.11 where Content-Type: application/xml
is being used.
Please refer attached demo.zip.
When following command is used to trigger HTTP request, different responses are returned by API with v5.3.10
and v5.3.11
.
curl --request GET --url http://localhost:8080/json
Spring Framework <= v5.3.10
{
"name": "Neo"
}
Spring Framework v5.3.11
<Json>
<name>Neo</name>
</Json>
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression