SteeltoeOSS / Steeltoe

.NET Components for Externalized Configuration, Database Connectors, Service Discovery, Logging and Distributed Tracing, Application Management, Security, and more.
https://steeltoe.io
Apache License 2.0
1k stars 164 forks source link

Revisit Actuator MediaTypeVersion handling #1367

Open TimHess opened 1 week ago

TimHess commented 1 week ago

During recent trace actuator work, we discovered that the Content-Type header in actuator responses is not being handled correctly. It might make sense for individual actuator endpoints to be able to specify their media type (eg: /httpExchanges should only ever return v3) and not exclusively respond to an Accepts header and falling back to v2 if the header wasn't found.

We should investigate if any actuator front-ends we care about even pay attention to this header, and if so, how Spring determines the media type to use in the response.

TimHess commented 5 days ago

This issue and #1335 should be addressed at the same time