overrideMimeType method

Specify a particular MIME type (such as text/xml) desired for the response.

void overrideMimeType(
String override
)

Specify a particular MIME type (such as text/xml) desired for the response.

This value must be set before the request has been sent. See also the list of common MIME types