Closed stevenolen closed 10 years ago
@joshuaselsky just want to confirm with you that this wont produce any odd side effects before we merge in. it appears the only odd side effect is the existing return :+1:
The one other place I would check here is Response History in the Android client.
This line/line area appear to me to imply that the phone code assumes the response will be json, and then around line 381 any issues with the return not being json/readable/network failure are caught and handled:
In OhmageApi.java, the Content-Type of the response seems to be mostly ignored except for special cases such as campaign read where XML is returned. Still worth a test if you can!
oh i see, I should have looked there of course! yup, I'm going to deploy this to mtest and see what happens!
works! (and by works, I mean, doesn't break anything!)
correctly set content type to
application/json
when json is returned