Rest assured version: 3.0.5
As a user we have passed contentType as XML in below format with valid content.
contentType(ContentType.XML) OR .contentType("application/xml")
In application allowed content type was: "application/xml" Supplied content type was reflected as below.
Content-Type=application/xml; charset=ISO-8859-1
Due to this it was giving error "Content Type is not valid" How to handle this use case.