framework/replay: implement MD5 checking for traces
Implements checking MD5 where server and proxy supports ETag. When ETag isn't available, fallback to size verification.
When file is already in the place, use verify_file_integrity() and HTTPS header to verify ETag or at least size if possible.
Run is slightly more effective, when file being downloaded, because MD5sum is generated on-the-fly.
Additional improvement is added extra logging of download/verification process.
Signed-off-by: David Heidelberg david.heidelberg@collabora.com Co-authored-by: Guilherme Gallo guilherme.gallo@collabora.com
Edited by David Heidelberg