imp(core): more Content-Types
MODIFY
packages/core/src/+internal/http/contentType.util.ts
packages/core/src/+internal/http/contentType.util.ts
export enum ContentType {
APPLICATION = 'application/*',
+ APPLICATION_RTF = 'application/rtf',
+ APPLICATION_ZIP = 'application/zip',
+ APPLICATION_X_RAR = 'application/x-rar-compressed',
+ APPLICATION_X_TAR = 'application/x-tar',
+ APPLICATION_X_TZ_COMPRESSED = 'application/x-7z-compressed',
+ APPLICATION_X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded',
+ APPLICATION_PDF = 'application/pdf',
APPLICATION_JSON = 'application/json',
APPLICATION_JAVASCRIPT = 'application/javascript',
APPLICATION_ECMASCRIPT = 'application/ecmascript',
+ APPLICATION_XML = 'application/xml',
APPLICATION_OCTET_STREAM = 'application/octet-stream',
- APPLICATION_X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded',
+ APPLICATION_VND_API_JSON = 'application/vnd.api+json',
TEXT_PLAIN = 'text/plain',
TEXT_HTML = 'text/html',
TEXT_CSS = 'text/css',
+ TEXT_CSV = 'text/csv',
+ IMAGE_WEBP = 'image/webp',
IMAGE_JPEG = 'image/jpeg',
IMAGE_PNG = 'image/png',
IMAGE_GIF = 'image/gif',
+ IMAGE_TIFF = 'image/tiff',
IMAGE_SVG_XML = 'image/svg+xml',
AUDIO_MPEG = 'audio/mpeg',
AUDIO_OGG = 'audio/ogg',
AUDIO = 'audio/*',
+ VIDEO_WEBM = 'video/webm',
VIDEO_MP4 = 'video/mp4',
+ FONT_TTF = 'font/ttf',
+ FONT_WOFF = 'font/woff',
+ FONT_WOFF2 = 'font/woff2',
+ MULTIPART_FORM_DATA = 'multipart/form-data',
}

imp(core): more Content-Types