What is MIME type "image/x-cheese"?

A MIME type is a string that tells browsers and other tools how to handle a particular kind of file.

The MIME type image/x-cheese is a vendor-specific image format. It uses the non-standard x- prefix, which signals a specialized application use rather than a universal standard.
This type is mainly linked to files produced by a dedicated Cheese application. For instance, the associated file is CHE.

Users needing to work with these files may require specific software or conversion tools. More information on file types can be found on external resources such as FileXT.

Associated file extensions

Usage Examples

HTTP Header

When serving content with this MIME type, set the Content-Type header:


    Content-Type: image/x-cheese    
  

HTML

In HTML, you can specify the MIME type in various elements:


    <a href="file.dat" type="image/x-cheese">Download file</a>    
  

Server-side (Node.js)

Setting the Content-Type header in Node.js:


    const http = require('http');    
    
    http.createServer((req, res) => {    
      res.setHeader('Content-Type', 'image/x-cheese');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

Do web browsers support image/x-cheese images?

No, modern browsers like Chrome, Firefox, and Edge do not natively support this format because it uses the non-standard x- prefix and is proprietary. To display these images on a website, you should convert them to standard formats like image/jpeg or image/png.

How do I configure Apache to serve .che files correctly?

You can enable support by adding the MIME type directive to your .htaccess file or main configuration. Use the line: AddType image/x-cheese .che. This ensures the server sends the correct headers to the client instead of treating the file as a generic binary.

How do I add image/x-cheese support to Nginx?

Open your mime.types file or the http block in your nginx.conf. Add the entry image/x-cheese che; inside the types { ... } block, and then reload the server configuration to apply the changes.

What program opens a file with the .che extension?

Files with the extension .che are typically associated with the dedicated Cheese application. Because image/x-cheese is a proprietary format, standard image viewers usually cannot open it without specific plugins or the original software.

Why does this MIME type start with x-?

The x- prefix signifies that image/x-cheese is a non-standard or experimental type not officially registered with the IANA as a standard. It indicates that the format is specific to a vendor or application rather than being a universal web standard.

Can I use image/x-cheese in an HTML <img> tag?

You can write the code <img src="file.che">, but the image will almost certainly appear as a broken icon. Since browsers do not contain the rendering logic for this specific MIME type, you must convert the file to a web-safe format before embedding it.

How do I fix a '415 Unsupported Media Type' error when uploading .che files?

This error occurs if your API or backend is strictly validating Content-Types and does not recognize this custom format. You need to whitelist image/x-cheese in your application's validation logic to allow uploads of .che files.

General FAQ

What is a MIME type?

A MIME (Multipurpose Internet Mail Extensions) type is a standard that indicates the nature and format of a document, file, or assortment of bytes. MIME types are defined and standardized in IETF's RFC 6838.

MIME types are important because they help browsers and servers understand how to process a file. When a browser receives a file from a server, it uses the MIME type to determine how to display or handle the content, whether it's an image to display, a PDF to open in a viewer, or a video to play.

MIME types consist of a type and a subtype, separated by a slash (e.g., text/html, image/jpeg, application/pdf). Some MIME types also include optional parameters.

How do I find the MIME type for a file?

You can check the file extension or use a file identification tool such as file --mime-type on the command line. Many programming languages also provide libraries to detect MIME types.

Why are multiple MIME types listed for one extension?

Different applications and historical conventions may use alternative MIME identifiers for the same kind of file. Showing them all helps ensure compatibility across systems.