Support Content-Description/Content-Type when uploading files. #4169
Unanswered
Mehgugs
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 2 replies
-
how would this work for uploading multiple files? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When uploading a file to discord it would be great if supplying a
Content-Description
header set the description field of the attachment object. The current system of providing a partial attachment object with the ids being repurposed as indices is clunky.Furthermore, discord ignores the
Content-Type
header, choosing instead to rely on file extensions. I'm unsure why this is the case.Beta Was this translation helpful? Give feedback.
All reactions