Skip to main content

Module format

Module format 

Source
Expand description

MIME type and HTTP header constants for the conversion API.

Constants§

CACHE_CONTROL_VALUE
Cache-Control header value applied to all responses.
HEALTH_BODY
Health endpoint response body.
INPUT_MIME_DOCX_PRIMARY
MIME type for DOCX documents. Strict — must be sent verbatim with no parameters.
INPUT_MIME_HTML
The MIME type accepted as request body for HTML input.
INPUT_MIME_MARKDOWN
The MIME type accepted as request body.
OUTPUT_MIME_ALIAS
Accepted alias for the output MIME type (input-only; server always returns primary).
OUTPUT_MIME_HTML_PRIMARY
The primary HTML output MIME type returned when the HTML writer is selected.
OUTPUT_MIME_OXA_PRIMARY
The primary oxa.dev output MIME type returned when the oxa.dev writer is selected.
OUTPUT_MIME_PANDOC_NATIVE_PRIMARY
The primary Pandoc native output MIME type returned when the Pandoc native writer is selected.
OUTPUT_MIME_PRIMARY
The primary output MIME type returned on success.