haskell / hackage-security

Hackage security framework based on TUF (The Update Framework)
http://hackage.haskell.org/package/hackage-security
56 stars 47 forks source link

Backends should be compatible with redirects #212

Open gbaz opened 6 years ago

gbaz commented 6 years ago

We'd like to add redirects to hackage-server to allow both efficient CDN usage and correct download statistics (https://github.com/haskell/hackage-server/pull/698). However, downstream clients will need to be able to follow redirects. I checked and the HTTP backend isn't, at least (which breaks hackage-mirror-tool). That should be fixed, and we should investigate the other backends as well...