Enumeration: ContentType
Defined in: src/types/http/ContentTypes.ts:11
Enumeration Members
Enumeration Member | Value | Description | Defined in |
---|---|---|---|
CSV | "text/csv" | Name Text (CSV) Description Standard MIME type for CSV (Comma-Separated Values) files. Used for transmitting tabular data in plain text format. See IANA: text/csv MIME Type | src/types/http/ContentTypes.ts:55 |
FormURLEncoded | "application/x-www-form-urlencoded" | Name Application (x-www-form-urlencoded) Description Standard MIME type for encoding form data in HTTP requests. Commonly used when submitting form data in key-value pairs. See IANA: application/x-www-form-urlencoded MIME Type | src/types/http/ContentTypes.ts:64 |
GIF | "image/gif" | Name Image (GIF) Description Standard MIME type for GIF (Graphics Interchange Format) image files. Used for transmitting simple animations and images with limited color palettes. See IANA: image/gif MIME Type | src/types/http/ContentTypes.ts:118 |
HTML | "text/html" | Name Text (HTML) Description Plain text format with html encoding. Used for raw text content with html formatting. See IANA: text/html MIME Type | src/types/http/ContentTypes.ts:37 |
Javascript | "application/javascript" | Name Application (JavaScript) Description Standard MIME type for JavaScript files. Used for transmitting executable JavaScript code to be interpreted by web browsers or JavaScript engines. See IANA: application/javascript MIME Type | src/types/http/ContentTypes.ts:82 |
JPEG | "image/jpeg" | Name Image (JPEG) Description Standard MIME type for JPEG (Joint Photographic Experts Group) image files. Used for transmitting high-quality images with lossy compression. See IANA: image/jpeg MIME Type | src/types/http/ContentTypes.ts:127 |
JSON | "application/json" | Name JSON Description JSON (JavaScript Object Notation) format, typically used for APIs and data interchange. See IANA: application/json MIME Type | src/types/http/ContentTypes.ts:19 |
MP3 | "audio/mpeg" | Name Audio (MPEG) Description Standard MIME type for MPEG (Moving Picture Experts Group) audio files. Used for transmitting audio content with high-quality compression and small file sizes, widely supported across devices and platforms. See IANA: audio/mpeg MIME Type | src/types/http/ContentTypes.ts:172 |
MP4 | "video/mp4" | Name Video (MP4) Description Standard MIME type for MP4 video files. Used for transmitting video content with both high-quality compression and small file sizes, widely supported across devices and platforms. See IANA: image/webp MIME Type | src/types/http/ContentTypes.ts:163 |
MultipartFormData | "multipart/form-data" | Name Multipart (Form-Data) Description Standard MIME type for submitting form data that includes files, non-ASCII data, or binary content. Commonly used for file uploads and complex form submissions via HTTP POST. See IANA: multipart/form-data MIME Type | src/types/http/ContentTypes.ts:73 |
OctetStream | "application/octet-stream" | Name Application (Octet Stream) Description Generic MIME type for arbitrary binary data. Commonly used for file downloads or when the content type is unknown. See IANA: application/octet-stream MIME Type | src/types/http/ContentTypes.ts:100 |
OGG | "audio/ogg" | Name Audio (OGG) Description Standard MIME type for OGG (Open Source Media) audio files. Used for transmitting high-quality audio content with efficient compression, often used for streaming and free from patent issues. See IANA: audio/ogg MIME Type | src/types/http/ContentTypes.ts:181 |
PDF | "application/pdf" | Name Application (PDF) Description Standard MIME type for PDF (Portable Document Format) files. Used for transmitting documents that preserve formatting across devices and platforms. See IANA: application/pdf MIME Type | src/types/http/ContentTypes.ts:91 |
PNG | "image/png" | Name Image (PNG) Description Standard MIME type for PNG (Portable Network Graphics) image files. Used for transmitting high-quality images with lossless compression. See IANA: image/png MIME Type | src/types/http/ContentTypes.ts:136 |
SVG | "image/svg+xml" | Name Image (SVG+XML) Description Standard MIME type for SVG (Scalable Vector Graphics) files encoded in XML. Used for transmitting vector graphics with scalable quality, ideal for web use. See IANA: image/svg+xml MIME Type | src/types/http/ContentTypes.ts:145 |
Text | "text/plain" | Name Text Description Plain text format with no special encoding. Used for raw text content without formatting. See IANA: text/plain MIME Type | src/types/http/ContentTypes.ts:28 |
WAV | "audio/wav" | Name Audio (WAV) Description Standard MIME type for WAV (Waveform Audio File Format) audio files. Used for transmitting uncompressed audio content with high quality, typically large file sizes and commonly used in professional audio applications. See IANA: audio/wav MIME Type | src/types/http/ContentTypes.ts:190 |
WEBM | "video/webm" | Name Video (WEBM) Description Standard MIME type for WEBM video files. Used for transmitting video content with high-quality compression, offering small file sizes and open-source format support. See IANA: image/webm MIME Type | src/types/http/ContentTypes.ts:199 |
Webp | "image/webp" | Name Image (WEBP) Description Standard MIME type for WEBP image files. Used for transmitting high-quality images with both lossy and lossless compression, often providing smaller file sizes. See IANA: image/webp MIME Type | src/types/http/ContentTypes.ts:154 |
XML | "application/xml" | Name Application (XML) Description Standard MIME type for XML documents. Used when transmitting structured data in XML format. See IANA: application/xml MIME Type | src/types/http/ContentTypes.ts:46 |
ZIP | "application/zip" | Name Application (ZIP) Description Standard MIME type for ZIP archive files. Used for transmitting compressed collections of files and directories. See IANA: application/zip MIME Type | src/types/http/ContentTypes.ts:109 |