Yikes… #swift .org does a 302 to a 302 to a 404 on 404.html. This is NOT how you...
Sean Coates @sean@scoat.es
Yikes… #swift .org does a 302 to a 302 to a 404 on 404.html.
This is NOT how you do HTTP, friends.
❯ curl -sLIXGET https://download.swift.org/swift-6.4-release/xcode/swift-6.4-RELEASE/swift-6.4-RELEASE-osx.pkg | egrep 'HTTP|Location'
HTTP/1.1 302 Found
Location: https://swift.org/404.html
HTTP/1.1 302 Redirect
Location: https://www.swift.org/404.html
HTTP/1.1 404 Not Found
(and also `swiftly self-update` is broken because it gets that incorrect URL somehow; at least for me)