diff --git a/src/main/java/org/mobicents/servlet/sip/restcomm/interpreter/RcmlInterpreter.java b/src/main/java/org/mobicents/servlet/sip/restcomm/interpreter/RcmlInterpreter.java
index <HASH>..<HASH> 100644
--- a/src/main/java/org/mobicents/servlet/sip/restcomm/interpreter/RcmlInterpreter.java
+++ b/src/main/java/org/mobicents/servlet/sip/restcomm/interpreter/RcmlInterpreter.java
@@ -327,7 +327,7 @@ public final class RcmlInterpreter extends FiniteStateMachine implements Runnabl
   }
   
   private void checkContentType(final String type) throws InterpreterException {
-    if(!"text/xml".equals(type) && !"application/xml".equals(type) && !"text/html".equals(type)) {
+    if(!"text/xml".contains(type) && !"application/xml".contains(type) && !"text/html".contains(type)) {
       throw new InterpreterException("Invalid content type " + type);
     }
   }
Fixed an issue with content-type validation.