This repository has been archived by the owner on Mar 16, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Content-Type of goat.WriteError not application/json #4
Comments
Hey @zwerch, I think it's the A solution could be to write a private method which writes and takes an error code and a JSON interface. |
bahlo
pushed a commit
that referenced
this issue
Mar 21, 2016
bahlo
added a commit
that referenced
this issue
Mar 21, 2016
* 1.0.7-development: 🐛 Add header as fix for #4, WriteJSONWithStatus
Fixed in |
robintemme
added a commit
to robintemme/goat
that referenced
this issue
Apr 6, 2016
Also set headers correctly, completely fixing bahlo#4. 🐛
robintemme
added a commit
to robintemme/goat
that referenced
this issue
Apr 6, 2016
Also set headers correctly, completely fixing bahlo#4. 🐛
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Somehow
goat.WriteError
seems to not set theContent-Type
-header correctly toapplication/json
.Could you verify this?
The text was updated successfully, but these errors were encountered: