The correct MIME types for Microsoft Office Open XML formats like .docx (Word documents) and .pptx (PowerPoint presentations) are as follows:
.docx (Word document): application/vnd.openxmlformats-officedocument.wordprocessingml.document
.pptx (PowerPoint presentation): application/vnd.openxmlformats-officedocument.presentationml.presentation
Here's an example of how these MIME types are used:
http
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
http
Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
These MIME types are used to indicate the file format and help the browser or server understand how to handle the file properly. Make sure to set the appropriate MIME type when serving .docx, .pptx, and other Open XML files to ensure compatibility and proper handling by client applications.
.docx (Word document): application/vnd.openxmlformats-officedocument.wordprocessingml.document
.pptx (PowerPoint presentation): application/vnd.openxmlformats-officedocument.presentationml.presentation
Here's an example of how these MIME types are used:
http
Content-Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
http
Content-Type: application/vnd.openxmlformats-officedocument.presentationml.presentation
These MIME types are used to indicate the file format and help the browser or server understand how to handle the file properly. Make sure to set the appropriate MIME type when serving .docx, .pptx, and other Open XML files to ensure compatibility and proper handling by client applications.
Comments
Post a Comment