feat: add MIMEType

This commit is contained in:
doprz
2024-03-21 10:27:07 -05:00
parent 2af351efa8
commit 0c76052478

View File

@@ -0,0 +1,14 @@
const MIMEType = {
JSON: 'application/json',
HTML: 'text/html',
TEXT: 'text/plain',
FORM: 'application/x-www-form-urlencoded',
MULTIPART: 'multipart/form-data',
PDF: 'application/pdf',
IMAGE: 'image/*',
AUDIO: 'audio/*',
VIDEO: 'video/*',
ANY: '*/*',
} as const satisfies Record<string, string>;
export default MIMEType;