src/HttpMessage/Utility/ContentType.php
<?php
namespace bdk\HttpMessage\Utility;
/**
* Define common mime types
*/
class ContentType
{
const CSS = 'text/css';
const CSV = 'text/csv';
const FONT_TTF = 'font/ttf';
const FONT_WOFF = 'font/woff';
const FONT_WOFF2 = 'font/woff2';
const FORM = 'application/x-www-form-urlencoded';
const FORM_MULTIPART = 'multipart/form-data';
const GZ = 'application/gzip';
const HTML = 'text/html';
const IMAGE_GIF = 'image/gif';
const IMAGE_ICO = 'image/vnd.microsoft.icon';
const IMAGE_JPEG = 'image/jpeg';
const IMAGE_PNG = 'image/png';
const IMAGE_SVG = 'image/svg+xml';
const JS = 'text/javascript';
const JSON = 'application/json';
const MARKDOWN = 'text/markdown';
const PDF = 'application/pdf';
const SQL = 'application/sql';
const TXT = 'text/plain';
const XML = 'text/xml';
const ZIP = 'application/zip';
}