Provide HTTP header with SHA sum of the content
Lukáš from Satellite engineering here. We struggle for many years with (re)downloading of initram and kernel from kickstart trees. We need to redownload them every provisioning to find if something changed (new Anconda). I tried to play around with HTTP ETag header but it looks like the best fit for our case (naming downloaded file in unique way) would be if Pulp (or Apache) could report file checksum via HTTP header (SHA or anything pretty much) or any kind of unique id that is associated with the contents.
This way we could do HTTP HEAD to get unique identifier of the kickstart files to:
- See if the content has changed and it needs to be redownloaded.
- Generate unique file name to store the files in the TFTP directory.
Is this something that could be implemented?
#1 Updated by email@example.com over 1 year ago
I think this could be done via https://httpd.apache.org/docs/current/mod/mod_headers.html
Please register to edit this issue