ApplicationBinary
application/x-apple-diskimage
Apple Disk Image
Reference for application/x-apple-diskimage, the MIME type for macOS DMG disk image files used for software distribution.
MIME Type Detector
Drop a file to detect its MIME type — no upload, runs in your browser
📄
Drop any file here or click to choose
Expected extensions: .dmg
HTTP Content-Type Header
HTTP Header
Content-Type: application/x-apple-diskimageAssociated File Extensions
.dmg
Quick Facts
| MIME Type | application/x-apple-diskimage |
| Category | Application |
| Type | Binary |
| Extensions | .dmg |
Common Usage
DMG files are the standard software distribution format on macOS. They are mountable disk images that can contain application bundles, installers, and other files.
When opened, macOS mounts them as virtual drives, often showing a drag-to-install interface.
Code Examples
HTML
<!-- Link or embed with explicit type -->
<link rel="stylesheet" href="file.dmg" type="application/x-apple-diskimage">
<!-- Or for script/media elements -->
<script type="application/x-apple-diskimage" src="file.dmg"></script>Node.js
// Express.js
app.get('/file', (req, res) => {
res.type('application/x-apple-diskimage');
res.send(data);
});
// Node.js http
res.writeHead(200, { 'Content-Type': 'application/x-apple-diskimage' });nginx
# nginx.conf — add to types block or use default
types {
application/x-apple-diskimage dmg;
}
# Or set for a specific location
location /api/ {
default_type application/x-apple-diskimage;
}Related MIME Types
More Application MIME Types
Other application types in the Application family
Related Tools
Explore More MIME Types
Browse our complete reference of 185 MIME types with usage examples, HTTP headers, and code snippets.