# `JSONAPIPlug.Plug.ContentTypeNegotiation`
[🔗](https://github.com/lucacorti/jsonapi_plug/blob/main/lib/jsonapi_plug/plug/content_type_negotiation.ex#L1)

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](http://jsonapi.org/format/#content-negotiation-servers).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
