Fixed issue with content-type validation when no content-type was sent from the server