View Source JSONAPIPlug.Plug.ContentTypeNegotiation (jsonapi_plug v2.0.0)

Provides content type negotiation by validating the content-type and accept headers.

The proper jsonapi.org content type is application/vnd.api+json as per the specification.