Qore Mime Module Reference 1.4.4
Loading...
Searching...
No Matches
MIME Type Definitions

Variables

const Mime::MimeTypeCss = "text/css"
 Mime type for css.
 
const Mime::MimeTypeCsv = "text/csv"
 MIME type for csv files (http://tools.ietf.org/html/rfc4180)
 
const Mime::MimeTypeFormUrlEncoded = "application/x-www-form-urlencoded"
 Mime type for multipart form URL encoding.
 
const Mime::MimeTypeHtml = "text/html"
 MIME type for HTML.
 
const Mime::MimeTypeJavascript = "application/javascript"
 Mime type for Javascript.
 
const Mime::MimeTypeJpeg = "image/jpeg"
 MIME type for jpeg images.
 
const Mime::MimeTypeJson = "application/json"
 Mime type for JSON.
 
const Mime::MimeTypeJsonRpc = MimeTypeJson
 Mime type for JSON-RPC.
 
const Mime::MimeTypeMultipartFormData = "multipart/form-data"
 Mime type for multipart form data.
 
const Mime::MimeTypeMultipartMixed = "multipart/mixed"
 Mime type for multipart mixed.
 
const Mime::MimeTypeMultipartRelated = "multipart/related"
 Mime type for multipart related.
 
const Mime::MimeTypeOctetStream = "application/octet-stream"
 MIME type for unknown file types.
 
const Mime::MimeTypePng = "image/png"
 MIME type for png images.
 
const Mime::MimeTypes = ...
 A map of default mime types per file extension; the hash keys are file extensions in lower-case without the dot (ex: "txt")
 
const Mime::MimeTypeSoapXml = "application/soap+xml"
 Mime type for SOAP XML messages (XML MIME type reference: http://tools.ietf.org/html/rfc3023)
 
const Mime::MimeTypeText = "text/plain"
 MIME type for text.
 
const Mime::MimeTypeUnknown = MimeTypeOctetStream
 
const Mime::MimeTypeXml = "text/xml"
 Mime type for plain (human-readable) xml files.
 
const Mime::MimeTypeXmlApp = "application/xml"
 Mime type for more complicated (not human-readable) xml files.
 
const Mime::MimeTypeXmlRpc = MimeTypeXml
 Mime type for XML-RPC.
 
const Mime::MimeTypeYaml = "text/x-yaml"
 Mime type for yaml data files.
 
const Mime::MimeTypeYamlRpc = "application/x-yaml"
 Mime type for YAML-RPC.
 
const Mime::UrlEncodedChars = ...
 hash of non-alphanumeric characters that can be used unencoded in URL encoded format More...
 

Detailed Description

These are constants for common MIME types

Variable Documentation

◆ MimeTypeUnknown

const Mime::MimeTypeUnknown = MimeTypeOctetStream

MIME type for unknown file types

◆ UrlEncodedChars

const Mime::UrlEncodedChars = ...

hash of non-alphanumeric characters that can be used unencoded in URL encoded format

Note
the plus character can also appear unencoded in a URL string, but because many decoders interpret it as a space (which is it in the query part of a URL string), it's not in this list
See also
RFC 2738 2.2