only do GET request when HEAD contained HTML/XML content type