Go Reference

golang.org/x/build/internal/httpdl

Package httpdl downloads things from HTTP to local disk.