chore: bump mime-types with support for TriG

This commit is contained in:
Ruben Taelman
2021-07-30 20:00:51 +02:00
committed by Joachim Van Herwegen
parent fdd1a3732e
commit 3cb200328a
3 changed files with 16 additions and 19 deletions

View File

@@ -2,7 +2,6 @@
export const APPLICATION_JSON = 'application/json';
export const APPLICATION_OCTET_STREAM = 'application/octet-stream';
export const APPLICATION_SPARQL_UPDATE = 'application/sparql-update';
export const APPLICATION_TRIG = 'application/trig';
export const APPLICATION_X_WWW_FORM_URLENCODED = 'application/x-www-form-urlencoded';
export const TEXT_HTML = 'text/html';
export const TEXT_MARKDOWN = 'text/markdown';
@@ -13,9 +12,7 @@ export const INTERNAL_ALL = 'internal/*';
export const INTERNAL_QUADS = 'internal/quads';
export const INTERNAL_ERROR = 'internal/error';
// Trig can be removed once the mime-types library is updated with the latest mime-db version
export const DEFAULT_CUSTOM_TYPES = {
acl: TEXT_TURTLE,
meta: TEXT_TURTLE,
trig: APPLICATION_TRIG,
};