Downloads a resource with the specified URL from the internet.