Expose md5/hash for emoji CDN in HEAD/GET #4236
Unanswered
muddyfish
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
Our cdn uses the standard etag header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/ETag |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
On
cdn.discordapp.com/emojis/...
, it would help if Discord could expose a hash for emojis. This hash could be exposed through the response headers (x-hash-md5
for instance).Bots which need to perform analysis on the image content would find this useful, as they could simply
HEAD
the object and detect if it had already been processed, saving bandwidth and CPU processing. If it had not already been processed, then it can do another request to download the image content.Currently this is available through unsupported means, but this feature request is for making the hash available through the CDN endpoint.
Beta Was this translation helpful? Give feedback.
All reactions