What is MIME type "application/windows-clipboard"?

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

MIME type: application/windows-clipboard

This type is used in the Windows environment to represent data from the system clipboard. It stores the rich data that Windows transfers between applications.
Files using this MIME type typically have the extension CLP.

For more details on how Windows handles clipboard data, visit Clipboard on Wikipedia.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: application/windows-clipboard    
  

HTML

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


    <a href="file.dat" type="application/windows-clipboard">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', 'application/windows-clipboard');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the primary file extension for application/windows-clipboard?

The primary file extension associated with this MIME type is .clp. These files represent a saved snapshot of the Windows Clipboard contents and can store various data formats including text, bitmaps, and OLE objects. You can learn more about this extension at .clp.

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

To ensure Apache serves these files with the correct MIME type, add the following line to your .htaccess file or main configuration: AddType application/windows-clipboard .clp. This ensures browsers identify the file as a Windows Clipboard file rather than generic binary data.

Can web browsers display application/windows-clipboard content directly?

No, modern browsers like Chrome, Firefox, and Edge do not natively render Windows Clipboard files. When a user navigates to a URL serving this MIME type, the browser will typically trigger a file download dialog.

How do I add support for this MIME type in Nginx?

In your Nginx configuration, locate the mime.types file or the types block within your server config. Add the entry application/windows-clipboard clp; to map the extension to the MIME type. Don't forget to reload Nginx for the changes to take effect.

Is application/windows-clipboard used in the modern Web Clipboard API?

Generally, no. The modern web Async Clipboard API focuses on cross-platform standard types like text/plain, text/html, and image/png. The application/windows-clipboard type is a proprietary format specific to the Windows operating system storage mechanism.

What application opens files with this MIME type?

These files are traditionally opened by the legacy Windows Clipboard Viewer (clipbrd.exe) found in older versions of Windows (like XP). On modern systems, specific third-party clipboard manager utilities are required to read or import the binary data stored in these 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.