-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathContentType.php
More file actions
32 lines (30 loc) · 899 Bytes
/
Copy pathContentType.php
File metadata and controls
32 lines (30 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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';
}