This PR allows Parse_id to find the correct id when there's an extension included with the request.
Example: I want to embed an mp4 into discord. So i request a1b2c3.mp4, but the server returns Invalid ID because of the extension. With this change the server responds with the correct file
Thanks for the PR ! I wish clients actually made use of the content-type header but since that's not the case in practice that should be really useful.
This PR allows Parse_id to find the correct id when there's an extension included with the request.
Example: I want to embed an mp4 into discord. So i request
a1b2c3.mp4
, but the server returnsInvalid ID
because of the extension. With this change the server responds with the correct file