I am exploring Elm for use in a single-page application with a REST backend that follows the JSON:API specification. Hence, all resources have the content type application/vnd.api+json instead of the usual application/json. What is the recommended approach to configure this content type in an Elm SPA?
To my understanding, when I use Http.expectJson as expected response type, elm/http will automatically set the request header content type to application/json. How can I change that? Do I need to write my own request functions that wrap Http.request? Is there a simpler, less invasive way to do it?