Skip to content

Consider revisiting converters and codecs default setup in HTTP stacks  #33894

Open
@bclozel

Description

@bclozel

The order of codecs has been the same for a very long time and applications might rely on it.

On the other hand, Spring Boot has been consistently reordering converters and codecs to align with industry trends. For example, reordering XML last in favor of JSON and other converters.

Unfortunately, this creates a disconnect between the order as declared in the application context and what Spring Boot applies in practice. This also causes inconsistencies like spring-projects/spring-boot#43143.

We should consider a change here, as long as there is minimal disruption for Framework and Boot developers.

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions