What is MIME type "model/vnd.dwfx+xps"?

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

model/vnd.dwfx+xps is a vendor-specific MIME type. It identifies files that use the AutoCAD Design Web Format in an XPS-based structure.
The format packages design data efficiently and securely.

This MIME type lets applications handle complex design information without exposing the full original drawing. It is often used to share detailed design models while keeping file sizes small.

Files using this MIME type have the extension DWFX. This makes it easier to identify and work with them across various CAD and design programs.
For more details on MIME types, see the IANA Media Types registry.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: model/vnd.dwfx+xps    
  

HTML

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


    <a href="file.dat" type="model/vnd.dwfx+xps">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', 'model/vnd.dwfx+xps');    
      res.end('Content here');    
    }).listen(3000);    
  

Associated file extensions

FAQs

What is the model/vnd.dwfx+xps MIME type used for?

The MIME type model/vnd.dwfx+xps represents DWFx files, which are a version of the Autodesk Design Web Format based on the XML Paper Specification (XPS). This format allows users to share rich 2D and 3D design data that can be viewed and printed using standard Windows tools without needing the original CAD software.

How do I configure my web server to serve DWFx files correctly?

You must explicitly map the extension to the MIME type to prevent browsers from treating the file as a generic ZIP archive.

  • Apache: Add AddType model/vnd.dwfx+xps .dwfx to your .htaccess or config file.

  • Nginx: Add model/vnd.dwfx+xps dwfx; to your mime.types file.

  • IIS: Add a new MIME map with the extension .dwfx and type model/vnd.dwfx+xps.

Why does my browser download the .dwfx file as a ZIP file?

DWFx files are technically packages compressed using ZIP compression (following Open Packaging Conventions). If the web server does not send the correct model/vnd.dwfx+xps header, the browser detects the file structure as application/zip and may change the extension or treat it as an archive.

What is the difference between model/vnd.dwf and model/vnd.dwfx+xps?

The standard model/vnd.dwf refers to the older, binary version of the Design Web Format. The model/vnd.dwfx+xps type refers to the newer DWFx version, which wraps the design data in an XPS container, making it natively viewable on Windows operating systems without extra software.

Can I view these files in a standard web browser?

Most modern browsers (Chrome, Firefox, Safari) do not have native support for rendering model/vnd.dwfx+xps content and will prompt you to download the file. However, because it is XPS-based, these files can often be opened directly by the native XPS viewer in Windows or by using Autodesk Design Review.

Is this MIME type secure for sharing design data?

Yes, this format is designed for secure collaboration. Unlike sharing the original .dwg source files, files served as model/vnd.dwfx+xps contain only the visual representation and metadata necessary for review, preventing recipients from easily editing or altering the original engineering geometry.

What does the '+xps' suffix mean in this MIME type?

The +xps suffix indicates that this vendor-specific format (vnd) conforms to the XML Paper Specification (XPS) structure. This signals to the operating system and applications that the file can be processed using standard XPS libraries, even if the specific CAD data inside requires a specialized viewer.

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.