I realize there are other ways to do that (e.g. curl), but why make it difficult?
[1] https://www.idontplaydarts.com/2016/04/detecting-curl-pipe-b...
https://github.com/AsahiLinux/asahi-installer/blob/main/scri...
It's proxied to avoid requiring users to use curl -L, otherwise I'd just have made it redirect.
Edit: For the curious, you are literally trusting that address for an entire OS install. And you could do a hash comparison, but if the website was hacked to begin with, the hash you compared against could just be changed anyway.