validateManifest() uses GET on all objects, but only consumes the
payload if it is a manifest. This could be problematic, as the server
may hold resources expecting the client to consume the payload.
The commit changes the code to use GET only for manifest blobs and
otherwise use HEAD.
validateManifest() uses GET on all objects, but only consumes the payload if it is a manifest. This could be problematic, as the server may hold resources expecting the client to consume the payload.
The commit changes the code to use GET only for manifest blobs and otherwise use HEAD.