xmpp-httpx - v0.11.0
    Preparing search index...

    Function parseAccept

    • Parses an Accept header, most preferred first. Ties keep the order the client wrote, which is the closest thing to intent we have. Malformed parameters are ignored rather than failing the request.

      Parameters

      • header: string | null | undefined

      Returns AcceptEntry[]