Content-Type of goat.WriteJSON not application/json
robintemme opened this issue · 1 comments
robintemme commented
The content-type header of goat.WriteJSON should be application/json
, not text/plain
. I am aware that I can set this header myself, but I think the function name WriteJSON
suggests that this is already done there.