What is MIME type "application/dec-dx."?

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

The MIME type application/dec-dx is assigned to files that hold data in a binary format used by Digital Equipment Corporation systems.
It provides a standard way to package and transport system data across DEC applications.
This format often contains configuration details, simulation data, or other system information specific to DEC environments.
Files using this MIME type are typically labeled with the extension DX.
For additional background on Digital Equipment Corporation, visit DEC History.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: application/dec-dx.    
  

HTML

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


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

Associated file extensions

FAQs

What is the primary purpose of the application/dec-dx MIME type?

The MIME type application/dec-dx is used to identify binary data files associated with legacy Digital Equipment Corporation (DEC) systems. These files, usually ending in the extension .dx, contain system configurations, simulation data, or interchange formats required by specific DEC software.

How do I open a file sent as application/dec-dx?

Because this is a proprietary binary format, you typically need the specific legacy DEC software that created the file to open it meaningfully. If you attempt to open a .dx file in a text editor, you will likely see unreadable garbled text; however, specific conversion tools for OpenDX or similar scientific visualization tools might be able to import the data depending on the file's origin.

How do I configure an Apache server to serve .dx files?

To ensure your Apache web server correctly identifies these files, add the following line to your .htaccess file or the main httpd.conf configuration. Use the directive: AddType application/dec-dx .dx. This tells the server to send the correct headers when a user requests a file with that extension.

Why does my browser download the .dx file instead of displaying it?

Modern web browsers like Chrome, Firefox, and Edge do not have built-in support for rendering application/dec-dx content. Consequently, the browser defaults to a binary download behavior, prompting the user to save the file to their disk rather than attempting to display it in the window.

What are the Nginx settings for application/dec-dx?

For Nginx servers, you should update your mime.types file or the types block within your server configuration. Add the entry application/dec-dx dx; to map the extension correctly. Reload Nginx after saving the changes to apply the new MIME type mapping.

Are there other file formats that use the .dx extension?

Yes, the .dx extension is ambiguous and is also used by OpenDX (IBM's Data Explorer) and occasionally by older DirectX related files. However, the specific MIME type application/dec-dx explicitly denotes the format used by DEC systems, distinguishing it from these other file types.

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.