Fork me on GitHub
#yada
<
2018-09-12
>
tanzoniteblack00:09:22

is there a way I can get application/json in the Content-Type response to return application/json;charset=utf-8?

dominicm05:09:56

Json is always utf-8. Strictly speaking you shouldn't do that

tanzoniteblack17:09:52

yeah...I completely agree with you, and this is the answer I've already told the Android team asking for this

tanzoniteblack17:09:02

But, wanted to know if it was possible

malcolmsparks17:09:29

You'd need to inject a custom interceptor.

tanzoniteblack17:09:43

Good to know it's possible. I'm still going to go with my original solution of: Fix it on your end, people requesting this change

tanzoniteblack17:09:38

thanks for the advice though

malcolmsparks17:09:06

Agreed. Yada takes the view that standards are important to maintain

💯 1
dominicm20:09:50

I learned a while ago that telling others to fix things is the least amount of work for me.

tanzoniteblack21:09:31

and this is one of those lovely situations where it's not only the least amount of work for me, but is also the rightâ„¢ solution