queryContentType

queryContentType(): String;

The queryContentType method of the JadeHTTPConnection class returns the content type of the response message (for example, "text/html"); or it returns null if the response message is empty.

You can call this method to check the "Content-Type" header before calling the queryInfo method, for example.