Is there any HTTP standard of like, headers or something, for a server to return...
Hazelnoot @hazelnoot@enby.life
Is there any HTTP standard of like, headers or something, for a server to return a hash of the response data before actually sending it? My use-case is a pull-through media cache backed by a content-addressable store, where media files may include GIFs, blob data, and video segments of potentially hundreds of megabytes. Importantly, the URL format is unspecified, so I can't just parse them to find a hash. (We can assume that cache headers are correct, so something marked as immutable can be cached forever - it just won't have a content-addressable URL.)
Another design constraint: some files are likely to be duplicated across different backend servers, or possibly multiple times on the same server.