added some more logging around HEAD request