Skip to content

Commit

Permalink
feat: expose contentType (#142)
Browse files Browse the repository at this point in the history
Expose official `contentType` header  for the CAR format
  • Loading branch information
Gozala authored Jul 19, 2023
1 parent af655e0 commit 65e2758
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ import { CarWriter } from './writer.js'
import { CarIndexedReader } from './indexed-reader.js'
import * as CarBufferWriter from './buffer-writer.js'

// @see https://www.iana.org/assignments/media-types/application/vnd.ipld.car
export const contentType = 'application/vnd.ipld.car'

export {
CarReader,
CarBufferReader,
Expand Down

0 comments on commit 65e2758

Please sign in to comment.