Mime type is not used in inserted link
-
When I add a file of one of the built-in types, like .doc, to my media library, then when I request the file from the site using its URL, the response headers have an appropriate content type, in this case:
Content-Type:”application/msword”
However, after I added the type “mobi”, “application/x-mobipocket-ebook” using your plugin, then uploaded a mobi file, then tried its URL, the server’s response has this header:
Content-Type:”text/plain”
Why isn’t WordPress making use of the MIME type I entered in your plugin? Does it actually make a difference what MIME type I enter? Apparently not.
- The topic ‘Mime type is not used in inserted link’ is closed to new replies.