new_http_archive doesn't follow http redirects? #527
Labels
P3
We're not considering working on this, but happy to review a PR. (No assignee)
type: documentation (cleanup)
If I put the following in a WORKSPACE file it fails with a checksum error. The reason appears to be that it is pulling down the html redirect page instead of following it. The url does a 302 redirect to a cdn for the download. This is likely to be the case for many different projects that offer http download.
Is the failure to follow redirects intended or is this a bug?
new_http_archive(
name="nunit",
build_file="tools/build_defs/dotnet/BUILD.nunit",
sha256="1bd925514f31e7729ccde40a38a512c2accd86895f93465f3dfe6d0b593d7170",
type="zip",
url="http://github.com/nunit/nunitv2/releases/download/2.6.4/NUnit-2.6.4.zip"
)
The text was updated successfully, but these errors were encountered: