Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update REST API for specifying checksums
Initially clients could specify checksums for uploaded binary content via a custom `checksum` query parameter, instead of this non-standard approach, we want to refactor to follow RFC-3230 4.3.2. * Adds 'Warning' header to announce deprecation of `checksum` * Adds support for 'Digest' header as per RFC-3230 * Adds utility function for parsing Digest headers * Adds integration tests for checksum match and mismatch Resolves: https://jira.duraspace.org/browse/FCREPO-1468
- Loading branch information
Showing
3 changed files
with
175 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.