Skip to content

Commit

Permalink
Add .nq extension contentType mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rubensworks committed Dec 4, 2018
1 parent 9300838 commit edbf5aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const streamifyString = require('streamify-string');
export class Util {

protected static readonly EXTENSION_TO_CONTENTTYPE: {[extension: string]: string} = {
nq: 'application/n-quads',
nt: 'application/n-triples',
srj: 'application/sparql-results+json',
srx: 'application/sparql-results+xml',
Expand Down

0 comments on commit edbf5aa

Please sign in to comment.