Hi All,
I am facing issue in downloading document with correct mimetype.
Issue is when i create a file by uploading content of type .pdf with the API like this:-
Creating a Document with API
File is created without extension though it should take extension as .pdf as its contents but it is created without extension like below:-

If i check from node browser it mimetype is application/pdf:-

And when i tried to download it is shows of type of File is:- FILE instead of .pdf like below:-

So my query is how to get document downloaded correctly as its content is uploaded in .pdf format. So download should be as similar as .pdf.
Thanks and Regards,
Piyush