Remove quality parameter from chosen media type in WebFlux responses #24239
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: enhancement
A general enhancement
Milestone
When processing requests and working on the Content Negotiation for WebFlux Controller handlers,
HandlerResultHandlerSupport
:It seems that when doing so, WebFlux does not remove the quality parameter from the media type, which means that the response can have a response header like
Content-Type: application/json; q=0.9
.This quality parameter is properly removed in
AbstractMessageConverterMethodProcessor
for Spring MVC, we should do the same here.The text was updated successfully, but these errors were encountered: