Added support for custom application/vnd.*+json media types.
Here we use custom media types and would be nice to have support for it officially.
As this media types are JSON formatted, they can be managed as normal application/json (just like application/vnd.api+json).
Specifying a list (or tuple) of these content types in settings.py using DRF_API_LOGGER_CONTENT_TYPES to add them to the defaults (the ones already supported).
Added support for custom
application/vnd.*+json
media types.Here we use custom media types and would be nice to have support for it officially.
As this media types are JSON formatted, they can be managed as normal
application/json
(just likeapplication/vnd.api+json
).Specifying a list (or tuple) of these content types in settings.py using
DRF_API_LOGGER_CONTENT_TYPES
to add them to the defaults (the ones already supported).