text/html
for HTML documents.text/plain
for plain text.text/css
for Cascading Style Sheets.text/javascript
for JavaScript files.text/markdown
for Markdown files.application/octet-stream
for binary files where user action is expected.text/plain
or application/octet-stream
for unknown content types. Modern versions of Apache report none
for files with unknown content types.text/plain
if you don't define a default content type.text/html
or text/plain
in order to have the documents either processed and displayed as HTML or as source code. If the browser guesses the MIME type, this option is no longer available to the author.application/javascript
application/ecmascript
application/x-ecmascript
application/x-javascript
text/ecmascript
text/javascript1.0
text/javascript1.1
text/javascript1.2
text/javascript1.3
text/javascript1.4
text/javascript1.5
text/x-ecmascript
text/x-javascript
text/javascript
to indicate the MIME type of JavaScript files.Content-Type
header.Content-Type
and it will report the content type of the resource.<meta>
element in the page source that gives the MIME type, for example <meta http-equiv='Content-Type'>
.<meta>
element that specifies the MIME type should be ignored if there's a Content-Type header available.Content-Type
header for each document..htaccess
equivalent tool, so all changes will go into the main configuration file.