Jakub Gwóźdź
09/01/2022, 8:33 AMAleksei Tirman [JB]
09/01/2022, 10:34 AMContentNegotiation
plugin select a suitable converter based on the Accept
header value. It sorts mime types by quality and the number of *
and then takes the first matched converter. So if you want to unconditionally respond with a specific content type you have to serialize your objects explicitly without the plugin.Aleksei Tirman [JB]
09/02/2022, 10:06 AMContentNegotiation
plugins into specific routes to respond with different body types.