Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hashes of uploaded files #2408

Open
Acconut opened this issue Feb 15, 2023 · 2 comments · May be fixed by #2748
Open

Hashes of uploaded files #2408

Acconut opened this issue Feb 15, 2023 · 2 comments · May be fixed by #2748

Comments

@Acconut
Copy link
Member

Acconut commented Feb 15, 2023

At IETF 115, Hans-Jörg Happel mentioned the idea of an extension to add checksum mechanism to resumable uploads.

One option is that the server calculates a checksum of completed uploads and provides it to the client, which can compare this checksum with an expected value. If the values do not match, the client can error out or retry the upload.

Another option is that the client tells the server the expected checksum in the beginning, and the server verifies the checksum once the upload is complete.

@LPardue
Copy link
Contributor

LPardue commented Feb 16, 2023

HTTP digests can probably deal with both of these options. I would be resistant to implementing something new just for resumable uploads.

The question for me is how much, if at all, resumable uploads should discuss this kind of scenario. Maybe just mentioning the possibility of HTTP digeat, or maybe some examples if the sequence if messages is non-obvious. But we should try to keep text lean IMO.

@Acconut
Copy link
Member Author

Acconut commented Aug 9, 2023

HTTP digests seems to fit very well here. There is also some discussion in https://lists.w3.org/Archives/Public/ietf-http-wg/2023JulSep/0067.html around this topic.

Maybe just mentioning the possibility of HTTP digeat, or maybe some examples if the sequence if messages is non-obvious. But we should try to keep text lean IMO.

I agree. Such a mention and a few examples should be sufficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants