Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for application/vnd.*+json media types #93

Conversation

OmarNunezG
Copy link
Contributor

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).

@vishalanandl177 vishalanandl177 merged commit 88b97b1 into vishalanandl177:main Mar 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants