Skip to content

Commit

Permalink
[XrdHttp] Added cksum documentation to be put in the official XRootD …
Browse files Browse the repository at this point in the history
…documentation
  • Loading branch information
ccaffy authored and amadio committed Mar 23, 2023
1 parent 7a4db03 commit 53a4dd3
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/XrdHttp/README-CKSUM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
In the case XrdHttp has been configured, it is important that the configuration contains at least one digest algorithm registered in the IANA database: https://www.iana.org/assignments/http-dig-alg/http-dig-alg.xhtml
Otherwise the user will get a 403 error for each checksum request they will do.

Here is a table summarizing the IANA-compliant checksum names:

| Digest algorithm configured | HTTP digest | Will be base64 encoded |
|-----------------------------|-------------|------------------------|
| md5 | md5 | true |
| adler32 | adler32 | false |
| sha1 | sha | true |
| sha256 | sha-256 | true |
| sha512 | sha-512 | true |
| cksum | UNIXcksum | false |
| crc32c | crc32c | true |

0 comments on commit 53a4dd3

Please sign in to comment.