Mock HEAD request for objects.