Since we already have return the message in a JSON format, it would be nice to have a option to set the Content-Type of returned message to application/json. The current return message Content-Type →text/plain; charset=utf-8
I was trying to change in main.go wasn't able to get it to work.
Resolved by commit 76989161ef5dae71cdd2bb93647fca8aa1fa5558. I've also changed the dependency management to be Glide to use vendoring, which is generally easier and more straightforward.
Since we already have return the message in a JSON format, it would be nice to have a option to set the Content-Type of returned message to
application/json
. The current return messageContent-Type →text/plain; charset=utf-8
I was trying to change in main.go wasn't able to get it to work.