After a quick google search I see others using application/json
which is what I would have expected for JSON. Since the documentation doesn't specify, I imagine this could be hit or miss depending on the implementation of the server.
Maybe you could implement a routine that tried the other on a bad response? Not ideal, but the docs aren't helping you much.