Closed tiegz closed 6 months ago
Sometimes missing packages on pkg.go.dev return 400 and others return 404, so this adds support for both (I think the 400s might be from invalid Go Modules, eg Godeps packages):
curl -I https://pkg.go.dev/launchpad.net/gocheck HTTP/2 400 curl -I https://pkg.go.dev/github.com/some-nonexistent-fake/pkg HTTP/2 404 curl -I https://pkg.go.dev/launchpad.net/gozk/zookeeperd HTTP/2 404
🤷🏻
Sometimes missing packages on pkg.go.dev return 400 and others return 404, so this adds support for both (I think the 400s might be from invalid Go Modules, eg Godeps packages):
🤷🏻