What is MIME type "application/resource-lists+xml"?

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

This MIME type, application/resource-lists+xml, uses an XML structure to describe collections of network resources. It encodes lists such as contacts or endpoints so that systems can exchange and process them uniformly.
It supports dynamic operations, making it useful for protocols that require real‐time updates.

Files with the RL extension use this MIME type.

For more details, refer to the IANA Media Types registry or check out technical documentation such as RFC 4825.

Associated file extensions

Usage Examples

HTTP Header

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


    Content-Type: application/resource-lists+xml    
  

HTML

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


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

Associated file extensions

FAQs

What is the primary purpose of the application/resource-lists+xml MIME type?

This MIME type is used to represent lists of resources, such as "buddy lists" or contact groups, within Session Initiation Protocol (SIP) environments. Defined in RFC 4825, it allows systems to manage and subscribe to the state of multiple resources efficiently using an XML structure.

Which file extension usually carries the application/resource-lists+xml content type?

The standard extension associated with this type is .rl. However, because the underlying format is XML, these files might occasionally be found with a generic .xml extension depending on the specific software implementation.

How do I configure Apache to serve .rl files with the correct MIME type?

You can add the type definition to your .htaccess file or main configuration. Add the line AddType application/resource-lists+xml .rl to ensure the Apache server sends the correct headers to SIP clients or XCAP servers.

Do web browsers natively support application/resource-lists+xml?

No, standard web browsers like Chrome or Firefox do not natively render the semantics of resource lists. If you navigate to a file with this type, the browser will likely display the raw XML tree or prompt you to download the file, as this type is designed for VoIP applications and SIP user agents.

How is this MIME type different from text/xml?

While application/resource-lists+xml is technically XML, using the specific MIME type tells the receiving application that the content adheres to the IETF resource-lists schema. A generic text/xml header does not convey the specific structure or purpose, which is critical for automated processing in telephony systems.

Are there security concerns when handling this MIME type?

Yes, since it is XML-based, parsers must be secured against XML External Entity (XXE) attacks. Additionally, because these files often contain sensitive contact lists or user endpoints, strict access controls and authentication (such as XCAP usage) are required to prevent unauthorized data exposure.

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.