text/x-patch
Differenze tra file
| Descrizione | Differenze tra file |
|---|---|
| Estensioni | .diff, .patch |
| Alias | text/x-diff |
| Basato su | text/plain |
| Firma (magic bytes) | 2A 2A 2A 09 (***.)2A 2A 2A 20 (*** )2D 2D 2D 20 (--- ) |
Domande frequenti
Che cos’è il tipo MIME text/x-patch?
text/x-patch indica «Differenze tra file».
Quale estensione usa text/x-patch?
I file di tipo text/x-patch terminano di solito con .diff e .patch.
Come fa un server web a servire correttamente text/x-patch?
Con l’intestazione Content-Type: text/x-patch. In nginx: types { text/x-patch diff patch; }; in Apache: AddType text/x-patch .diff .patch.
Esistono altri nomi per text/x-patch?
Sì, come equivalenti si usano text/x-diff.