Add content negotiation to the http service. This should be used to allow the service to correctly decode request bodies and correctly encode response bodies.
Unsupported request body content type should result in a 415 response. Unsupported accept type should result in a 406.
There are a lot of different approaches that could work for this. It might be interesting to have something like a service with actions which do work on a decoder and an encoder.
Add content negotiation to the http service. This should be used to allow the service to correctly decode request bodies and correctly encode response bodies.
Unsupported request body content type should result in a 415 response. Unsupported accept type should result in a 406.