Top "Mime-types" questions

A MIME type after MIME (Multipurpose Internet Mail Extensions) is a two-part identifier for file formats on the Internet.

How to set a mime type on a file with php?

I am writing a Unit Test for a class and need to generate a few files with different mime-types. I …

php mime-types fwrite
HTML 4, HTML 5, XHTML, MIME types - the definitive resource

The topics of HTML vs. XHTML and XHTML as text/html vs. XHTML as XHTML are quite complex. Unfortunately it's …

xhtml html mime-types
Correct MIME type for multipart MJPEG stream over http?

Chrome always throws a warning for my MJPEG stream: Resource interpreted as Image but transferred with MIME type multipart/x-mixed-replace …

mime-types mjpeg
Django development server and MIME types

Is there anyway of setting MIME types in the django development server? Specifically, I would love to remove this message …

django mime-types google-chrome-devtools django-dev-server
How to detect that mime type is for executable file?

I am using Apache Tika to detect the mime type of an input stream and I was wondering if there's …

java mime-types apache-tika
Android: PDF files hidden despite setting the MIME type

This is my Intent: Intent intent = new Intent(Intent.ACTION_GET_CONTENT); intent.setType("text/* , application/pdf, image/*"); But, when …

android pdf android-intent mime-types android-intent-chooser
CSS was ignored due to mime type mismatch

My Site style sheet is being ignored by every browser I have tested it one. I'm getting this error when …

html css mime-types mime-message
Apache 2.4 set mime type of file without extension

I have upgraded from Apache 2.2 to 2.4 on a RedHat 6.4 server and came across an issue with mime types. Apache has …

apache mime-types mime
Check Browser Support for specific Mime Type?

For a web application which allows in-browser preview of documents, I'd like to check whether the user's browser supports preview …

javascript mime-types browser-support
Forcing the browser to download a docx file in JAVA generates a corrupted document

Using JAVA, I'm trying to force the browser to download files. Here is the code I currently use: response.reset(); …

java ms-office mime-types docx force-download