Description:
In some conditions, when a remote Maven repository returns the "x-amz-request-id" header, the response content is not being validated if it's an XML before parsing it. As a result, in case an HTML page (or any other content type) is returned Artifactory is parsing it as an XML.
Expected Behavior:
Artifactory should validate if the returned content is an XML before parsing it.