geotiff.js
    Preparing search index...

    Function parseContentType

    • Parse a 'Content-Type' header value to the content-type and parameters

      Parameters

      • rawContentType: string | undefined

        the raw string to parse from

      Returns { params: Record<string, string>; type: string | null }

      the parsed content type with the fields: type and params