I've noticed that using Gin to return a response like this:
c.JSON(http.StatusOK, jsonData)
automatically creates the following header:
application/json; charset=utf-8
Is it possible to modify the header somehow to just return
application/json
I'd rather take this approach than splitting the string at the ;