When pushing a Docker image to Artifactory, the Docker client first sends a HEAD request that contains the checksum of the layer that it needs to upload. This is to verify if this layer already exists or not.
If the HEAD request triggers a 404 response, it means that this layer does not exist yet and Docker will push it. If it triggers a 200 response, it means that the layer already exists and Docker will not push it a second time.