QMimeType
@quik/http / QMimeType
Enumeration: QMimeType
Defined in: http/src/enums/QMimeType.ts:6
A list with some MimeTypes supported in the application. You can use other MimeTypes besides these in the application.
Enumeration Members
BINARY
BINARY:
"binary"
Defined in: http/src/enums/QMimeType.ts:78
BINARY Mime Type
Use this MimeType when you want to return a binary file.
FORM_DATA
FORM_DATA:
"multipart/form-data"
Defined in: http/src/enums/QMimeType.ts:66
FORM DATA Mime Type
Use this MimeType when you want to parse form data/upload a file.
HTML
HTML:
"text/html"
Defined in: http/src/enums/QMimeType.ts:54
HTML Mime Type
Use this MimeType when you want to return a HTML file.
IMAGE_GIF
IMAGE_GIF:
"image/gif"
Defined in: http/src/enums/QMimeType.ts:18
IMAGE GIF Mime Type
Use this MimeType when you want to return a GIF image to the user.
IMAGE_JPEG
IMAGE_JPEG:
"image/jpeg"
Defined in: http/src/enums/QMimeType.ts:12
IMAGE JPEG Mime Type
Use this MimeType when you want to return a JPEG image to the user.
IMAGE_PNG
IMAGE_PNG:
"image/png"
Defined in: http/src/enums/QMimeType.ts:24
IMAGE PNG Mime Type
Use this MimeType when you want to return a PNG image to the user.
IMAGE_SVG
IMAGE_SVG:
"image/svg+xml"
Defined in: http/src/enums/QMimeType.ts:30
IMAGE SVG Mime Type
Use this MimeType when you want to return a SVG image to the user.
IMAGE_WEBP
IMAGE_WEBP:
"image/webp"
Defined in: http/src/enums/QMimeType.ts:36
IMAGE WEBP Mime Type
Use this MimeType when you want to return a WEBP image to the user.
JAVASCRIPT
JAVASCRIPT:
"text/javascript"
Defined in: http/src/enums/QMimeType.ts:60
JAVASCRIPT Mime Type
Use this MimeType when you want to return a JavaScript file.
JSON
JSON:
"application/json"
Defined in: http/src/enums/QMimeType.ts:48
JSON Mime Type
Use this MimeType when you want to return a JSON file.
PLAIN_TEXT
PLAIN_TEXT:
"text/plain"
Defined in: http/src/enums/QMimeType.ts:42
PLAIN TEXT Mime Type
Use this MimeType when you want to return a text file.
YAML
YAML:
"text/vnd.yaml"
Defined in: http/src/enums/QMimeType.ts:72
YAML Mime Type
Use this MimeType when you want to return a YAML file.