What is MIME type "application/x-zpaq"?

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

The MIME type application/x-zpaq marks files created by the ZPAQ Archive system. It is used to identify compressed archives designed for efficient, incremental backups.

The ZPAQ Archive format focuses on saving only changes over time. This means each backup update is smaller and faster to store while preserving past versions of your data.


Files using this MIME type are typically stored with the ZPAQ extension. For more detailed technical information, you can visit the ZPAQ official website.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: application/x-zpaq    
  

HTML

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


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

Associated file extensions

FAQs

What software opens files with the MIME type application/x-zpaq?

You typically need the ZPAQ command-line tool or a compatible GUI archiver like PeaZip to open these files. Because application/x-zpaq is a specialized format for incremental journaling backups, standard system tools (like Windows Explorer) usually cannot extract them without third-party software.

How do I configure Apache or Nginx to serve .zpaq files correctly?

For Apache, add the line AddType application/x-zpaq .zpaq to your .htaccess or configuration file. For Nginx, include application/x-zpaq zpaq; within the types block of your nginx.conf or mime.types file to ensure browsers handle the download correctly.

Can web browsers display application/x-zpaq content natively?

No, modern web browsers (Chrome, Firefox, Edge) do not have built-in support to view or extract ZPAQ archives. When a browser encounters this MIME type, it will trigger a file download dialog so the user can save the zpaq file locally.

Why use application/x-zpaq instead of application/zip?

While ZIP is better for general portability, ZPAQ is designed for incremental backups and deduplication. It saves storage space by only recording changes between versions and allows you to restore files from a specific point in time, which standard ZIP tools do not support natively.

Is application/x-zpaq a standard IANA MIME type?

No, the x- prefix signifies that it is a non-standard or experimental subtype not officially registered with IANA. However, it is the de facto standard used by developers and system administrators to identify ZPAQ archives on the web.

What are the security implications of opening ZPAQ files?

As with any archive format, a ZPAQ file can contain malware or executables. Always verify the source of the file before extracting it. Additionally, ZPAQ supports encryption, so you may need a password to access the contents if the creator secured the archive.

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.