View Source JSONAPIPlug.Plug.ContentTypeNegotiation (jsonapi_plug v1.0.4)

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.