Skip to content

standards-compliant digest#1

Open
tungol wants to merge 1 commit intojpbruinsslot:masterfrom
tungol:tungol-patch-1
Open

standards-compliant digest#1
tungol wants to merge 1 commit intojpbruinsslot:masterfrom
tungol:tungol-patch-1

Conversation

@tungol
Copy link

@tungol tungol commented Jan 29, 2018

Per the standard[1], "WARC-Payload-Digest" is the hash of the payload, which is application-dependent. For applicaiton/http, that excludes the headers and is the hash of the actual document. "WARC-Block-Digest" is the hash of the entire data block, which is what's being calculated here.

[1] http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf

Per the standard[1], "WARC-Payload-Digest" is the hash of the payload, which is application-dependent. For applicaiton/http, that excludes the headers and is the hash of the actual document. "WARC-Block-Digest" is the hash of the entire data block, which is what's being calculated here.

[1] http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant