Closed alexframe closed 7 years ago
yep, should be application/json - PR welcome!
On Wed, Jun 28, 2017 at 3:32 AM Alex notifications@github.com wrote:
If a response is an object, a Content-Type of json is set.
According to the valid mime types list https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types on MDN, this should be application/json.
It looks like this was changed in 7816e54 https://github.com/shipharbor/merry/commit/7816e547e184e48f46c50919063d96792d5f64c7
- was this intentional?
Should we change this back to conform with MDN?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shipharbor/merry/issues/99, or mute the thread https://github.com/notifications/unsubscribe-auth/ACWleqcvxw5OJGuVb6EIgilW5HrtcXiVks5sIa0fgaJpZM4OHYoi .
yep! totally missed this in the rewrite; got it fixed in #100 tho
@alexframe lemme know if it's all good ^___^
Look good @lrlna! Thanks.
I've opened #102 to update the tests to test for this in future too :+1:
Thanks for fixing and releasing so quickly.
Awesome! I merged those two in as well. Thanks! :) I am gonna add you as a contributor :sparkles:
If a response is an
object
, aContent-Type
ofjson
is set.According to the valid mime types list on MDN, this should be
application/json
.It looks like this was changed in 7816e54 - was this intentional?
Should we change this back to conform with MDN?