Depends on the transport protocol, HTTP, SFTP or S3.
There’s really no single example of where this is done. It depends a lot on the type of dependency (project, client module, external) and repository type (ivy/maven). The entry point to all this madness is resolving a Configuration
. Feel free to go down the rabbit hole, but beware, there be dragons.