Answer the question
In order to leave comments, you need to log in
How to determine file type?
It is necessary to divide the files into 2 parts - doc and docx. Mimetype in tests showed
docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
application/msword
Answer the question
In order to leave comments, you need to log in
Define both at the same time, in case of differences, give preference to the MIME definition.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question