kolibri
kolibri copied to clipboard
Update NetworkClient to set Accept header to application/json
Update our NetworkClient class to add an explicit Accept
https://github.com/learningequality/kolibri/blob/develop/kolibri/core/discovery/utils/network/client.py#L50|header of application/json
as per: https://www.django-rest-framework.org/api-guide/content-negotiation/#determining-the-accepted-renderer