- http:mime_type_encoding(+MimeType, -Encoding) is semidet[multifile, library(http/http_header)]
- Encoding is the (default) character encoding for MimeType. This is
used for setting the encoding for HTTP replies after the user calls
format('Content-type: <MIME type>~n')
. This hook is called before
mime_type_encoding/2. This default defines utf8
for JSON and
Turtle derived application/
MIME types.