kolibri icon indicating copy to clipboard operation
kolibri copied to clipboard

Update NetworkClient to set Accept header to application/json

Open rtibbles opened this issue 1 year ago • 0 comments

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

Slack Message

rtibbles avatar Jun 10 '24 22:06 rtibbles