diff --git a/src/classes/TwilioRestResponse.cls b/src/classes/TwilioRestResponse.cls index f83a095..1271e14 100644 --- a/src/classes/TwilioRestResponse.cls +++ b/src/classes/TwilioRestResponse.cls @@ -206,7 +206,7 @@ public class TwilioRestResponse { * @return true if this looks like a JSON response */ public boolean isJson() { - return (this.contentType!=null && this.contentType.equalsIgnoreCase('application/json')); + return (this.contentType!=null && this.contentType.startsWithIgnoreCase('application/json')); } /**