Steeltoe icon indicating copy to clipboard operation
Steeltoe copied to clipboard

Revisit Actuator MediaTypeVersion handling

Open TimHess opened this issue 1 year ago • 1 comments

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 avatar Sep 20 '24 18:09 TimHess

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

TimHess avatar Sep 25 '24 13:09 TimHess

Related: it's currently not possible to change the version of the health actuator, because both HealthConverter and HealthConverterV3 are internal.

bart-vmware avatar Oct 29 '24 11:10 bart-vmware

This comment is more likely due to MediaTypeVersion than ShowDetails

TimHess avatar Jan 09 '25 16:01 TimHess