{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Web

MIME Type

Tipo MIME (identificador de tipo de medio)

Una etiqueta estandarizada en formato tipo/subtipo (como text/html o image/png) que identifica la naturaleza y formato de un archivo, utilizada por navegadores web, servidores y sistemas de correo electrónico para gestionar el contenido correctamente.

Detalle técnico

Los tipos MIME (RFC 6838) constan de un tipo de nivel superior (application, audio, font, image, message, model, multipart, text, video) y un subtipo. Los tipos comunes: text/html, application/json, image/png, application/pdf, multipart/form-data. Los tipos con prefijo x- (como application/x-www-form-urlencoded) históricamente indicaban tipos no registrados. El registro de la IANA mantiene la lista oficial. Los servidores web configuran los tipos MIME en las cabeceras Content-Type para la correcta interpretación en el navegador.

Ejemplo

```javascript
// MIME Type: web API example
const response = await fetch('/api/resource');
const data = await response.json();
console.log(data);
```

Formatos relacionados

Herramientas relacionadas

Términos relacionados