What is MIME type "application/x-itunes-ipsw"?

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

application/x-itunes-ipsw is a MIME type for firmware update packages used on Apple devices.
It tells systems that the file contains a complete software image for an iPhone, iPad, or iPod.
These packages are managed by iTunes during device restoration or upgrade procedures.
Files with this MIME type use the extension IPSW.
This type is specific to Apple's ecosystem and is crucial in managing device firmware safely and efficiently.
For more details on how IPSW files work, visit resources on Apple firmware updates or Apple support pages.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: application/x-itunes-ipsw    
  

HTML

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


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

Associated file extensions

FAQs

Which software opens files with the MIME type application/x-itunes-ipsw?

Files with this MIME type are primarily opened by Apple iTunes on Windows and older macOS versions, or Finder on macOS Catalina and later. These applications use the file to restore or update the firmware on iOS, iPadOS, and tvOS devices.

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

To ensure browsers download the file correctly, you must map the .ipsw extension to application/x-itunes-ipsw. In Apache, add AddType application/x-itunes-ipsw .ipsw to your config or .htaccess. In Nginx, add application/x-itunes-ipsw ipsw; inside your mime.types file or types block.

Is an application/x-itunes-ipsw file actually a ZIP archive?

Yes, the underlying format of this MIME type is a compressed ZIP archive. If you rename the file extension from .ipsw to .zip, you can extract it to view the internal components, such as the kernel cache, restore ramdisks, and the filesystem DMG.

Why does my browser download an IPSW file as a .zip file?

This usually happens if the server hosting the file is misconfigured and sends the generic application/zip MIME type instead of application/x-itunes-ipsw. While the content is identical, you may need to manually rename the extension back to .ipsw for iTunes to recognize it.

How do I manually select an IPSW file in iTunes or Finder?

To use a specific application/x-itunes-ipsw file for a restore, hold the Shift key (Windows) or Option/Alt key (Mac) while clicking the "Check for Update" or "Restore" button. This opens a file dialog allowing you to select the specific firmware package.

What does the 'x-' prefix mean in application/x-itunes-ipsw?

The x- prefix indicates that this is a non-standard or private MIME type, not officially registered with the IANA at the time of creation. It is specific to the Apple ecosystem for handling IPSW firmware 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.