What is MIME type "audio/x-amzxml"?

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

audio/x-amzxml is a custom MIME type. It uses an XML structure to hold data related to audio content.

This type is not part of the standard set defined by IANA. The x- prefix shows it is a non-standard, vendor-specific profile. It tells software how to process files designed for Amazon’s services.

Files marked with this MIME type (commonly seen with the AMZ extension) are used by Amazon downloaders to carry metadata and instructions rather than the audio data itself.


For more on how MIME types work, visit IANA Media Types.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: audio/x-amzxml    
  

HTML

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


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

Associated file extensions

FAQs

Does the audio/x-amzxml MIME type contain actual music data?

No, files served with audio/x-amzxml are actually XML text files containing metadata and download instructions, not binary audio. They act as a "pointer" or playlist that tells the Amazon MP3 Downloader where to retrieve the actual music files.

How do I configure Apache to serve .amz files correctly?

To ensure browsers and download managers recognize the file, add AddType audio/x-amzxml .amz to your .htaccess file or main server configuration. This forces the server to send the specific MIME type instead of a generic text or XML type.

What is the correct Nginx configuration for audio/x-amzxml?

In your Nginx setup, locate the mime.types file or the types block in nginx.conf. Add the line audio/x-amzxml amz; to associate the extension with this content type, then reload the server.

Why won't my web browser play files with this MIME type?

Web browsers do not have native support for playing audio/x-amzxml because it is a proprietary XML format, not a standard audio stream like MP3 or WAV. Browsers will typically download the file or pass it to an external application like the Amazon MP3 Downloader.

What does the "x-" prefix mean in audio/x-amzxml?

The x- prefix indicates that this is a non-standard or vendor-specific MIME type that has not been registered in the standard IANA tree. It signals that the format is specific to Amazon's software ecosystem.

How can I view the contents of an audio/x-amzxml file?

Since the underlying structure is XML, you can open files associated with this type (usually .amz) in any standard text editor like Notepad or TextEdit. You will see tags describing the album, tracks, and download locations.

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.