application/xml

XML remains common in feeds, enterprise integrations, sitemaps, and document standards that rely on schema validation and explicit namespaces.

application
Compressible in transit

Content-Type header

Content-Type: application/xml
Common extensions

How teams usually encounter it

This page maps the media type to the file extensions and delivery behaviors developers usually care about: browser parsing, upload validation, cache correctness, and asset handling.

Compression signal

application/xml often benefits from gzip or Brotli in HTTP delivery because the payload is text-like or structurally repetitive.

Server config snippets

Use these when a server is missing the right extension-to-MIME mapping or you want the expected header to survive a proxy, CDN, or custom asset bucket setup.

Nginx
types {
  application/xml xml;
}
Apache
AddType application/xml .xml

Magic bytes / file signature

When you need to validate uploads or investigate a mislabeled file, the signature often starts with 3C 3F 78 6D 6C.

Operational shortcut

If a browser downloads this asset instead of rendering it correctly, check the response header first, then verify the extension mapping on your origin and edge cache. .xml is the fastest sanity check for teammates reviewing the file outside the app.

Related application types